• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Hibernate Annotations

 
Tanaka Musendo
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hibernate annotations seem to be very interesting and I am trying to use the hibernate-tools starting from a domain model. The unfortunate thing is that I can generate my ddl using hbm2ddl proper proper, but there doesn't seem to be a way to use hbm2java without hbm files. I am willing to make my own DAO velocity templates as long as I can use hbm2java to generate java classes from my annotated class. Is this possible, has anyone done it, and if so does anyone have some spring/hibernate3 DAO templates.
I hope I don't have to start working from my schema again.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic