File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Object Relational Mapping and the fly likes Create POJO class from DataBase table Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Create POJO class from DataBase table" Watch "Create POJO class from DataBase table" New topic
Author

Create POJO class from DataBase table

Arvind Purohit
Ranch Hand

Joined: Jun 18, 2010
Posts: 43
Hi All
please help me to create pojo class from dabase table
i am using eclipse galilio 3.x
from where i can download plugin
THANK YOU
Dawn Charangat
Ranch Hand

Joined: Apr 26, 2007
Posts: 249
Hey..,

Did you try googling for the eclipse hibernate plugin (hibernate synchronizer) ?
Check it out...
Arvind Purohit
Ranch Hand

Joined: Jun 18, 2010
Posts: 43
Dawn Charangat wrote:Hey..,

Did you try googling for the eclipse hibernate plugin (hibernate synchronizer) ?
Check it out...

I have installed hibernate synchronizer and able to generate hibernate hbm.xml file but still unable to generate pojo.
when i am clicking new-> project-> other ->and hibernate it only showing two option 1. hibernate configuration 2 hibernate mapping
vijin das
Ranch Hand

Joined: Jun 07, 2010
Posts: 129

Why don't you create it your own by just declaring a public Class and make private attributes and if you are using eclipse you can generate setters and getters easily......


VIJINDAS
Arvind Purohit
Ranch Hand

Joined: Jun 18, 2010
Posts: 43
vijin das wrote:Why don't you create it your own by just declaring a public Class and make private attributes and if you are using eclipse you can generate setters and getters easily......


Thanks All

@vijin das - my mentor wants that way

i done it by doing folling steps

1. i downloaded eclipse Helios
2. installed software from http://download.jboss.org/jbosstools/updates/stable/ ( in eclipse install )
3. searched for a video in youtube reverse engg hibernate

and some how i done it
but still i have to learn a lot to support others

THANKS ALL FOR YOUR KIND HELP
vijin das
Ranch Hand

Joined: Jun 07, 2010
Posts: 129


i will also try it....
Mag Wells
Ranch Hand

Joined: Jun 02, 2010
Posts: 38
eclipse and the hibernate tool plugin with it works well.
Pallavi Joshi
Greenhorn

Joined: Oct 20, 2010
Posts: 14
Arvind Purohit wrote:
vijin das wrote:Why don't you create it your own by just declaring a public Class and make private attributes and if you are using eclipse you can generate setters and getters easily......


Thanks All

@vijin das - my mentor wants that way

i done it by doing folling steps

1. i downloaded eclipse Helios
2. installed software from http://download.jboss.org/jbosstools/updates/stable/ ( in eclipse install )
3. searched for a video in youtube reverse engg hibernate

and some how i done it
but still i have to learn a lot to support others

THANKS ALL FOR YOUR KIND HELP


Which software to install from point 2. mentioned above?
 
 
subject: Create POJO class from DataBase table