0 Replies Latest reply on Sep 12, 2013 10:41 PM by gorak

    How to define the output hibernate config filename  on Hibernate Tools CodeGen Exporter

    gorak

      Hello everyone,

       

      How to define the output hibernate config filename  on Hibernate Tools CodeGen Exporter for each Hibernate Code Generation config?  Is there any variable for that ?

       

      I want to have multiple config files that will point for different mysql schemas/catalogs/databases.

      For example, core.cfg.xml,  audit.cfg.xml,   for each config file I  have a *.reveng.xml, for example: core.reveng.xml, audit.reveng.xml.

       

      Everything is working fine, the only thing not working well is that all the code generation configurations are writing the  output of the Hibernate XML Configuration(cfg.xml) to the same file named hibernate.cfg.xml.

       

      Is there a variable to define it in the Hibernate XML Configuration(cfg.xml) under the Exporters tab ?

       

      Thanks

      Gorak