• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Query on MiddleGen ..hbm2java task

 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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


Cheers,
ronish
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic