Hi guys : I'm REALLY getting tired or relying on version specific eclipse plugins to do EVERYTHING for me.
Id like to try reverse engineering a hibernate schema from scatch.... that is, reverse engineering a database schema using hibernate by just writing my OWN java class, that uses the hibernate reverse engineering API.
Where do I start ? Does anyone have an example of the low level java API for reverse engineering ?
Or alternatively, do any of you out there know how to setup a maven project that reverse engineer's hibernate mapping code for a database connection ?
I can't really see why you'd want to use the reverse engineering API do to something the tools already do for you; there's no need to use the Eclipse plugin, use the Ant task. What specific problem are you trying to solve?
Hi Again Dave : I'd like to run it as an ant task, but can't find any documentation and ---- as you Im sure by now can tell .... Im a little new to the whole ant / maven way of doing things. I guess you kind of answered my question. Is there good documentation on how to run hibernate reverse engineering as an ant task somewhere ?
Yes I actually really think this is a good tutorial, I used it to setup my current project. But it is slanted towards the eclipse plugin, rather than a lower level pure java or ant based strategy.... . Im looking for a strategy that is ide independent.
Interesting. I noticed that although NetBeans supports less sophisticated refactoring, and less features than eclipse, I agree that the ones it does support are much cleaner, such as maven. I might take another look at it.
I tried hiberclipse as well as hibernate tools And it appears that hibernate tools is much easier to use, once you finally have a console configuration and cfg.XML file that works perfectly. The problem is that you get virtually no error messages , donuts difficult totrace the problems in a reverse engineering workflow. This is true for both hibernate tools and hiberclipse .... And alot of eclipse plugins for that matter.