[hibernate-issues] [Hibernate-JIRA] Commented: (HBX-623) Add ability in reverse engineering config file to support cascades

Max Rydahl Andersen (JIRA) noreply at atlassian.com
Tue Mar 20 10:41:08 EDT 2007


    [ http://opensource.atlassian.com/projects/hibernate/browse/HBX-623?page=comments#action_26486 ] 

Max Rydahl Andersen commented on HBX-623:
-----------------------------------------

For any who want to implement this:

type of cascade is intended to be assigned in JDBCBinder.

Currently it does nothing special; so it needs to be added and possible checked if it actually follows the defaults as done by HbmBinder.

When that is done you need to add methods to ReverseEngineeringStrategy that let it be controllable by the user programmatically.

thirdly you need to find a proper place in reveng.xml where it should be placed (and probably allow to set a "default behavior") and implement parsing of that in OverrideBinder and consequently support it in OverrideRepository.getReverseEngineeringStrategy.



> 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
>         Type: New Feature

>   Components: reverse-engineer
>     Versions: 3.0beta2
>  Environment: Hibernate Tools Beta 5
>     Reporter: tony anecito
>     Priority: Critical
>      Fix For: 3.2beta10

>
>
> 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.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira




More information about the hibernate-issues mailing list