Gustavo Ludwig [https://community.jboss.org/people/gtludwig] created the 
discussion

"how can I reverse engineer and create POJOs from an existing database?"

To view the discussion, visit: https://community.jboss.org/message/801327#801327

--------------------------------------------------------------
I need, as a prototype evaluation, to develop a new version of an existing 
application which consults an existing database that uses the MyISAM engine, 
hence no foreign keys. So, I hoped to create the POJOs from the database and 
build the new app from the bottom. Since this application can not write data 
into the database, HIbernate would ease querying data via HQL.

I found this wikihow on the subject: 
 http://www.wikihow.com/Generate-Hibernate-Pojo-Classes-from-DB-Tables 
http://www.wikihow.com/Generate-Hibernate-Pojo-Classes-from-DB-Tables

But it generated one pojo and one pojoId class for each entity. I don't know if 
this is right or not, but afterwards I got tangle up on my other chores and 
haven't been able to continue on it.

Can someone throw me some pointers and hopefully a good tutorial on the matter?

Thanks in advance,
gtludwig
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/801327#801327]

Start a new discussion in JBoss Tools at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2128]

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to