[hibernate-issues] [Hibernate-JIRA] Closed: (HBX-270) Code generation ui should be able to be configured to use same exporter with different parameters

Max Rydahl Andersen (JIRA) noreply at atlassian.com
Sun Oct 28 03:55:38 EDT 2007


     [ http://opensource.atlassian.com/projects/hibernate/browse/HBX-270?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Max Rydahl Andersen closed HBX-270.
-----------------------------------

         Assignee: Max Rydahl Andersen  (was: Marshall Culpepper)
       Resolution: Fixed
    Fix Version/s:     (was: 3.2LATER)
                   3.2.beta11

this was actually fixed b11

> Code generation ui should be able to be configured to use same exporter with different parameters
> -------------------------------------------------------------------------------------------------
>
>                 Key: HBX-270
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HBX-270
>             Project: Hibernate Tools
>          Issue Type: New Feature
>          Components: hbm2java
>    Affects Versions: 3.0alpha
>         Environment: Hibernate tools 3.0 alpha 1
>            Reporter: daviddickinson at fastmail.co.uk
>            Assignee: Max Rydahl Andersen
>            Priority: Minor
>             Fix For: 3.2.beta11
>
>
> The old hbm2java tool could be configured to use 2 renderers, in order to generate an abstract base class, and also an empty concrete class, for each mapping file.
> This was achieved by using something like this in the config.xml passed to the hbm2java tool:
> <codegen>
>   <generate prefix="Base" renderer="net.sf.hibernate.tool.hbm2java.BasicRenderer"/> 
>   <generate renderer="net.sf.hibernate.tool.hbm2java.BasicRenderer">
>      <param name="generate-concrete-empty-classes">true</param>
>      <param name="baseclass-prefix">Base</param>
>   </generate>
> </codegen>
> This cannot yet be done with the current Hibernate 3.0 alpha 1 code-generation wizard. 
> It would be really useful if there was either :-
>  - some way of specifying an external config.xml file to the wizard, or
>  - a means of adding/configuring code renderers and setting their parameters via the wizard UI.

-- 
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