This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread for details.
The moose likes Object Relational Mapping and the fly likes Hibernate synchronizer - generate interfaces? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Hibernate synchronizer - generate interfaces?" Watch "Hibernate synchronizer - generate interfaces?" New topic

Hibernate synchronizer - generate interfaces?

Kris Reid
Ranch Hand

Joined: Jan 05, 2005
Posts: 247

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

You have a User.hbn.xml

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

It will generate

I want it to also generate a

which has all the User methods defined

Any ideas?

I agree. Here's the link:
subject: Hibernate synchronizer - generate interfaces?
It's not a secret anymore!