Hibernate version:3.0.5
Does H3 hbm2java support <meta attribute="finder-method">? I searched the forums and the only posts related to 'finder-method' were in H2. The H2 docs say to create a codegen xml file, but the H3 ant tasks don't seem to have a way to point to the file.
The H2 doc says:
Quote:
The second is to create a config file for hbm2java of the format:
Code:
<codegen>
<generate renderer="net.sf.hibernate.tool.hbm2java.BasicRenderer"/>
<generate suffix="Finder" renderer="net.sf.hibernate.tool.hbm2java.FinderRenderer"/>
</codegen>
And then use the param to hbm2java --config=xxx.xml where xxx.xml is the config file you just created.
I don't know how to pass --config to hbm2java. Maybe the new ant tasks don't support finders yet??
Unfortunately, I have no experience with generating finders in H2, so I might be missing something obvious.
Thanks in advance.