Base class that your data elements can extend which allow them to refresh, update, etc. themselves. ORMLite will automagically set the appropriate {@link Dao} on the class if it is received by a query but if you are trying tocreate the class, you will need to either create it through the DAO or set the dao on it directly with {@link #setDao(Dao)}.
NOTE: The default pattern is to use the {@link Dao} classes to operate on your data classes. This will allowyour data classes to have their own hierarchy and isolates the database code in the Daos. However, you are free to use this base class if you prefer this pattern.
NOTE: The internal Dao field has been marked with transient so that it won't be serialized (thanks jc). If you do de-serialize on these classes, you will need to refresh it with the Dao to get it to work again.
@author graywatson