What /where needs to be changed to generate non-column attribute in hbm-xml
How to generate ‘formula’ instead of ‘column’ parameter in xml property of .hbm files.
say if I need to generate something like this from ORM
<property name=“rowNum” formula=“ROWNUM” type=“integer”>
We are sorry that currently we do not support generate formula instead of column parameter in .hbm files. In our current design, each attribute in class model must be mapped to a column in the ER model, and the column in ER model must be a real database column. We will consider support defining formula in the future. If there are any further inquiry, please do not hesitate to contact me.