Java Mailing List Archive

http://www.gg3721.com/

Home » Hibernate Issues List »

[hibernate-issues] [Hibernate-JIRA] Created: (HBX-1082) Creating a
formula property when reverse engineering

Anupam M (JIRA)

2008-08-14


Author LoginPost Reply
Creating a formula property when reverse engineering
----------------------------------------------------

          Key: HBX-1082
          URL: http://opensource.atlassian.com/projects/hibernate/browse/HBX-1082
        Project: Hibernate Tools
      Issue Type: Improvement
      Components: reverse-engineer
  Affects Versions: 3.2.beta11
     Environment: All environments
       Reporter: Anders Reinhardt Hansen
       Priority: Minor


Having lots of formula properties in mapping files is quite frustrating when reverse engineering database changes.
Therefore it would be a big help if there was a way to write formula properties in the Hibernate Reverse Engineering files.
A property formula is a property of a mapping file which is calculated by hibernate.
I.e.
<class name="XXX">
 <column name="xxx" type="xxx" formula="(coloumn1+coloumn2)/coloumn3"/>
</class>

the reveng file could look like this

<hibernate-reverse-engineering>
 ...
 <formula name="xxx" type="xxx" formula="(coloumn1+coloumn2)/coloumn3"/>
</hibernate-reverse-engineering>

Maybe the reverse engineering file is not the correct place for this feature. Suggestions are welcome

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

   
_______________________________________________
hibernate-issues mailing list
hibernate-issues@(protected)
https://lists.jboss.org/mailman/listinfo/hibernate-issues
©2008 gg3721.com - Jax Systems, LLC, U.S.A.