Senior |
|
Joined: Sun Jan 04, 2004 2:46 pm Posts: 147
|
To what extent can hibernate persistant/root classes be generated at runtime? What I want to do is generate a complete class with id/version/properties/relationships etc at runtime on top of a predefined mappings file.
I've looked at the available classes and all I need seems to be available in the .cfg and .mappings packages. However looking at the code I have some concerns that the Binder class that does the construction of the mappings in code adds to Maps/Lists such as table, imports and so on. Are these required for the construction of the session factory and subsequent use of the class in hibernate sessions or are these used for schema export and such like?
Cheers.
Myk.
|
|