If you mean "generate them from db tables", consider using the last version of middlegen, for it. It's not complete but it's pretty functional. If you need to generate the mappings from the java files, then consider really using xdoclet.
In general you're right, but sometimes it's the only thing you can do. And I realized that I can superpose interesting object models even on apparently strict relational models.
Shumbola wrote:
Same question here. Is there an updated plugin for IDEA 4.0?
--
Felix Hack
felix_hack@splwg.com
What do u need an Hibernate-Plugin for?
I use XDoclet and Ant - and it's working fine...
I need Hibernate-Plugin for hibernate :)
Actually, I'm new to hibernate world and would like to be able to auto generate those *.hbm files.
If you mean "generate them from db tables", consider using the last version of middlegen, for it. It's not complete but it's pretty functional. If you need to generate the mappings from the java files, then consider really using xdoclet.
Yeah, I meant the first. And I think I need to google for middlegen then.
Thank you.
Hmm.
Maybe the generating-from-database-way is not the best...
It often produces not-so-object-oriented-objects ;)
Actually, it depends...
Object orientation is not panacea :)
In general you're right, but sometimes it's the only thing you can do. And I realized that I can superpose interesting object models even on apparently strict relational models.