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
Post a Comment