rrr123 wrote:
Hi
Thanks for replying.
Well, I can define a non-persistent field in POJO, however I am using Middlegen to create POJO at build time. Once I define that non-persistent field in POJO, I need to move it into what we call a passive generation area and I will lose active generation of POJO each time I do a build. So, I was wondering there must be some way in hbm.xml file to specify non-persistent field ?
Thanks
Ron
There should be a way in middlegen to keep the field from being generated in the hibernate mapping.