Hi,
I am dealing with a large set of legacy Java code base which we are modifying the persistence part using Hibernate3.
Some domain model objects are pojos, I set "hibernate.default_entity_mode=pojo" to map these objects.
Some other domain objects are just Java maps, I plan to use dynamic entity to map these, but I have to set "hibernate.default_entity_mode=dynamic-map"
My question is if I can mix these two in the same database. If so, how do I do it. Do I have to call SchemaExport twice? ........
Thanks for any help
Eddie
|