I have set up a reverse engineering system, with revenng.xml and a DelegatingReverseEngineeringStrategy, to handle some funny column names.
I am using hbm2java to generate java code with jpa annotations straight from the database tables.
I would like to be able to specify EAGER as a fetch policy on quite a few relationships.
Furthermore I would like to be able to specify the use of hibernate annotations instead of JPA annotations for a couple of special cases.
E.g. I would like to use the hibernate notations to replace the fetch policy to "subselect" or "join" of my relationships,as EAGER is going to kill me i a couple of places.
Is this possible or do I have to modify the stuff by hand afterwards?
|