This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Hibernate synchronizer - generate interfaces?" Watch "Hibernate synchronizer - generate interfaces?" New topic
Author

Hibernate synchronizer - generate interfaces?

Kris Reid
Ranch Hand

Joined: Jan 05, 2005
Posts: 247
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Hibernate synchronizer - generate interfaces?
 
Similar Threads
Create POJO class from DataBase table
Creating Mapping XML file
type "Long" and primitive "long"
what we should do with interface when create jar file ?
Ant-SchemaExportTask