Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Hibernate synchronizer - generate interfaces?

 
Kris Reid
Ranch Hand
Posts: 247
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey

Does anyone know how to make Hibernate Synchronizer generate interfaces as well as the mapped object?

e.g.
You have a User.hbn.xml

<class name="data.User" table="users">
</class>

It will generate
data.User
data.base.BaseUser

I want it to also generate a
data.iface.User

which has all the User methods defined


Any ideas?

Cheers
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic