Hi,
We have a large (>500 tables) software system for which we formerly used Hibern8IDE to try out HQL with Hibernate 2.1. As we do a lot of runtime byte-code stuff to create our business classes, we dynamically build the hibernate configuration at runtime, before starting the Hibernate session factory. We overrode a little bit of the Hibern8IDE code to let us supply our own SessionFactory to accomplish this.
Now we've switched to Hibernate 3 and Hibern8IDE won't work, so we want to use HibernateTools. Unfortunately I don't see any way to slide in our own SessionFactory, so I'm stuck with having to generate a "light-POJO" version of our system so that the static definitions needed by the HibernateTools configuration screens can be provided. This is obviously not optimal, since the classes used in HibernateTools would not be the actual classes that run in the system.
Is there a way to let us provide our own SessionFactory to HibernateTools, or can such a change be made in the tools?
Thank you.
--
Felix Hack
|