Forums Register Login

Hibernate synchronizer - generate interfaces?

+Pie Number of slices to send: Send
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
What do you have to say for yourself? Hmmm? Anything? And you call yourself a tiny ad.
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 761 times.
Similar Threads
what we should do with interface when create jar file ?
Creating Mapping XML file
Ant-SchemaExportTask
Create POJO class from DataBase table
type "Long" and primitive "long"
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 11:09:37.