@ Override public < T , K > Dao < T , K > getDao ( Class < T > clazz , Class < K > keyType ) throws SQLException { return DaoManager . createDao ( getConnectionSource ( ) , clazz ) ; }
Gets the data access object for an entity class with a given key type . Dao caching is performed by the ORM library so you don t need to take pains to hold on to this reference .