A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Java SE 8 for the Really Impatient
this week in the
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
I agree. Here's the link:
subject: Hibernate synchronizer - generate interfaces?
Creating Mapping XML file
type "Long" and primitive "long"
what we should do with interface when create jar file ?
Create POJO class from DataBase table
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014