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.