A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Object Relational Mapping
Hibernate synchronizer - generate interfaces?
Joined: Jan 05, 2005
Apr 06, 2009 05:46:18
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
Don't get me started about those stupid
subject: Hibernate synchronizer - generate interfaces?
what we should do with interface when create jar file ?
Creating Mapping XML file
Create POJO class from DataBase table
type "Long" and primitive "long"
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014