Access GreenDAO generator project dynamically from Android project -


is possible, android project using greendao, dynamically (at run-time) access database model structural information (entities, properties, schema, ...) defined in generator project?

my first impression it's not possible. if is, how can that?

thanks answer.

you can via reflection.

daomaster's parent, abstractdaomaster has private field daoconfigmap includes configuration tables.

not proper way possible if trying hack sth.

another approach, if want access properties on know dao's etc, each generated dao class have public static properties class defines properties.


Comments

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -