• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Rob Spoor
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Carey Brown
Bartenders:

which Eclipse plug-in could help me to generate j2ee bean assuming have hbm file ?

 
Ranch Hand
Posts: 798
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I like hibernate. I like to design UML and then write hbm file. After that, I use Hibernate Synchronizer to generate plain java files . This solution is better for me.

Now the problem is, I have the hbm files. I want to generate J2EE session bean / Entity bean, not the plain files, which Eclipse plug-in could help me ?

I know the MiddleGen can do some bean generation. But its problem is, firstly you have to have the database tables, it is not from top to down, not from hbm file to database schema.

Let me simply my question, which Eclipse plug-in could help me to generate j2ee bean assuming I only have hbm file ?

Thanks
 
Ranch Hand
Posts: 209
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator


I know the MiddleGen can do some bean generation. But its problem is, firstly you have to have the database tables, it is not from top to down, not from hbm file to database schema.

]

Using middlegen u can able to create the tables using .hbm.xml file, in any database. view here
 
Ranch Hand
Posts: 67
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
HI everybody,
i would like to know whether middlegen is inetegrated with eclipse or not? If yes, can i know where can i get it. Please provide some information regarding how to generate hbm files from the database schema using middlegen....

Please provide me the information.

Thanks a lot in advance....

With Regards,
Venkat Dasari
 
Ranch Hand
Posts: 995
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Venkat, afaik there is no plugin available. Using Middlegen is quite easy. You just need to configure the database connection from Middlegen (you already got in the Middlegen distro a lot of samples) and start Middlegen. Afterwards you will be presented a nice drawing where you can configure some details and than... poof there you have your hbms.

./pope

ps: middlegen offers you a nice and easy experience
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic