Hi I am using hbm2java to generate annotated JPA classes. There are some badly designed join tables in the (legacy) database, which because they contain data additional to the actual joined primary keys they can't be reverse engineered as a straight MANY_TO_MANY. I would like therefore to be able to set the fetch strategy for the joined primary keys to EAGER. I have hunted high and low, but I can't find any reference to a meta data tag which would allow me to do this. Did I miss something somewhere? Thanks in advance.
|