Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Create POJO class from DataBase table

 
Arvind Purohit
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 249
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey..,

Did you try googling for the eclipse hibernate plugin (hibernate synchronizer) ?
Check it out...
 
Arvind Purohit
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 129
Firefox Browser Java Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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......
 
Arvind Purohit
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 129
Firefox Browser Java Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

i will also try it....
 
Mag Wells
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
eclipse and the hibernate tool plugin with it works well.
 
Pallavi Joshi
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic