• Post Reply Bookmark Topic Watch Topic
  • New Topic

Query on MiddleGen ..hbm2java task

Ronish Cheenath Raphael
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Gents,

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

java files.

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

my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!