[
http://opensource.atlassian.com/projects/hibernate/browse/HBX-623?page=co...
]
Jeffrey Williams updated HBX-623:
---------------------------------
Attachment: many-to-one-attributes.diff
I found this annoying so I has a crack at it. I have uploaded a patch to implement this.
A few things, I have also added the ability to set a few other things as well:-
fetch-mode
lazy
insert
delete
cascade
Validation is done via changes in the DTD. My DTD skills are fairly week so may need to be
looked at.
Currently, you can only select on value for cascade property. I believe that as per the
mapping doc you should be able to have more than one. Ie. "persist,merge,evict"
As validation is done via DTD this could be fudged. As I mentioned DTD isn't my
strenght.
Hope this is ok.
Add ability in reverse engineering config file to support cascades
------------------------------------------------------------------
Key: HBX-623
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HBX-623
Project: Hibernate Tools
Issue Type: New Feature
Components: reverse-engineer
Affects Versions: 3.0beta2
Environment: Hibernate Tools Beta 5
Reporter: tony anecito
Priority: Critical
Fix For: 3.2.1
Attachments: many-to-one-attributes.diff
Please add ability to add cascade tag to resultant mapping files in the reveng file.
Currently have to modifiy velocity template file
--
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