Joined: Wed Oct 01, 2003 7:15 pm Posts: 10
|
My program allows users to compile and load classes online while the program is running.
Everything I have read so far deals with mapping files, but I don't want to define mapping files for each class. I want to specifiy some overall rules for the system... like how to handle inheritence for all classes... or how to handle inheritence for all classes that extend a certain base class. I want to be able to dynamically add a class and have hibernate store it in the database. Can Hibernate do this?
Another question I have is about version control. I would like to be able to have multiple versions of a class and have hibernate store them as separate classes. Does hibernate provide any kind of class versioning like this?
How does Hibernate handle loading a class from the database when the class has changed and fields have been added/removed?
Thanks a lot for any help.
|
|