[
http://opensource.atlassian.com/projects/hibernate/browse/HBX-575?page=co...
]
Tonté Pouncil commented on HBX-575:
-----------------------------------
Hi Max,
Is this fix still available in the Hibernate 3.2; because I am trying do what you
described as a fix and it does not generate my column an access method of protected? I
would have posted this in the hibernate tools forum but right now it is not up because of
the
JBoss.org link are not linking to it.
I really hope this fix is still availabe as I don't want have to try to muck with the
POJO templates. If this feature is no longer availabe, how do I implement this in the
source code?
Thanks!
Able to add meta information on the reveng.xml file (common
configuration for all renerated classes)
----------------------------------------------------------------------------------------------------
Key: HBX-575
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HBX-575
Project: Hibernate Tools
Issue Type: Improvement
Components: reverse-engineer
Affects Versions: 3.1beta4
Reporter: David Leal
Fix For: 3.2beta9
Attachments: svn-patch2.txt
Just to add the posibility to set some meta information common to all possible generated
*.hbm files, for example to set that ALL generated file will implement toString method or
equal/hash code.
A good solution whoud be to add some filter options in order to speficy the set of Tables
it would apply, using regular expresion, like include nestede target from ant. Something
like this:
<meta attribute name="theAttributeName" value="theValue">
<include name="theListOfTableToInclude"/>
<exlude name="theListOfTablesToExclude">
</meta>
If it is more complicated just to add the possibility to add meta information for all
possible generated files.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira