Hi!
I've been looking around for a good O/R mapping and persistance tool, and as far as I can tell, Hibernate is one of the best tools to use.
I have a problem that I really hope that Hibernate can solve for me. At our company we have a very dynamic database structure for our system. Our customers can add and remove tables and columns with an administration tool. Our core API extracts information about which tables exists and which columns exists in the database at runtime. Our current persistance framework is a home-grown one, and it's beginning to fall apart on us. What I'm looking for is a tool like Hibernate that can be configured during runtime. What I've seen so far of Hibernate, the classes for tables must be created during deployment. Is there some way of achieving what I'm looking for? Maybe generating the classes for the tables with cglib/bcel/javassist? Or does Hibernate have some kind of API for doing this?
Thanks in advance,
Niklas Ekman
|