Reverse from an existing database
"Ray Tayek" <[email protected]>
| Newsgroups | gmane.comp.java.ejb.middlegen.user |
|---|---|
| Message-ID | <000001c4025e$71ade660$b4d501cc@STINGRAY> |
Hi, newbie to hibernate (and db's in general) here. we have this existing mysql database and I am trying to use hibernate to provide a more rational persistance layer. Towards that end, I would like to reverse the existing database tables directly into java objects if possible. According to the diagram at: http://hibernate.org/102.html, middlegen will do this. I downloaded the sample, but it seems to be going the other way. Is there any doc around on how to do this? Any pointers will be appreciated. Thanks ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click