android Programming Glossary: ormlitesqliteopenhelper
How to extend the BaseDaoImpl class of ORMLite on Android to extend functionality http://stackoverflow.com/questions/8273675/how-to-extend-the-basedaoimpl-class-of-ormlite-on-android-to-extend-functionalit delete delBuilder.prepare My problem is that I don't know how to create an instance of ExtendedDaoImpl class form the OrmLiteSqliteOpenHelper class. Normally a Dao is created by calling getDao method of the OrmLiteSqliteOpenHelper class and passing the class of.. class form the OrmLiteSqliteOpenHelper class. Normally a Dao is created by calling getDao method of the OrmLiteSqliteOpenHelper class and passing the class of the BusinessObject the Dao should be used for. E.g. Dao Image Long imageDao getDao Image.class.. the Dao should be used for. E.g. Dao Image Long imageDao getDao Image.class So is there a way to modify the OrmLiteSqliteOpenHelper class in such a way that ExtendedDaoImpl objects can be retrieved instead of a BaseDaoImpl object android sqlite ormlite..
How can I use ORMLite with SQLCipher together in Android? http://stackoverflow.com/questions/9176768/how-can-i-use-ormlite-with-sqlcipher-together-in-android share improve this question It should be possible @Bruno. One way that should work is to just copy ORMLite's OrmLiteSqliteOpenHelper class into your project rename it to LocalOrmLiteSqliteOpenHelper or something and change the base class to be the SQLCipher.. One way that should work is to just copy ORMLite's OrmLiteSqliteOpenHelper class into your project rename it to LocalOrmLiteSqliteOpenHelper or something and change the base class to be the SQLCipher helper class. I can't believe they didn't rename the class to.. I can't believe they didn't rename the class to be SQLCipherSQLiteOpenHelper . grumble public abstract class LocalOrmLiteSqliteOpenHelper extends info.guardianproject.database.sqlcipher.SQLiteOpenHelper Another way would be to have your helper extend SQLCipher..
|