Register / Login
Object Relational Mapping
Query on MiddleGen ..hbm2java task
Ronish Cheenath Raphael
posted 9 years ago
Let me first describe our task.
We are using Spring+Hibernate for our DAO layer.
In our project we are running xdoclet to create hbm files from
But we didnt want to create hbm files by hand for the first time.
So we used MiddleGen to create hbm file for first time, and using
these hbm files, we created java file by hbm2java task.
We have a problem here .... we were expecting all hibernate
annotations in java files created by hbm2java task. But annotation
were not there in any of the java files created.
Is there any way to include hibernate annotations in java files by
running hbm2java task ??? can we customize MiddleGen for this
purpose? I am kindly requesting all sort of inputs on this
Thanks in Advance
Any plugin for hibernate
Please help me: Maven sql->hbm->class
problem at using hibernate extension to build *java from *.hbm.xml
Mixing Hibernate Annotations with .hbm files