We help IT Professionals succeed at work.

Tools to generate entity classes and mapping files from database?

prsubject
prsubject used Ask the Experts™
on
Do we have any good names for generating hibernate entity classes and the mapping files if I give the database tables. I came across http://boss.bekk.no/boss/middlegen/. Do we have any better sophisticated tool.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
I have try this in the past works great and you can make your own customizations on the template... and not only that! but is FREE

check it out http://www.mygenerationsoftware.com/

Author

Commented:
mygeneration appears to be a tool for .net. I am working on java
I understand that .... it's mainly created for .Net devs .... and the software genarator run on .net.... but it can generate any kind of code ... you would just need to pick a the correct template and change it to what you want to come out to.....

it's just a code generator that can also maps to databases... and creates objects based on your templates (generated code could be any language)...



Java Developer
Top Expert 2010
Commented:
if you're using eclipse try this
http://www.hibernate.org/subprojects/tools.html

Author

Commented:
What value should I provide for Provider and Persist Security Info

Author

Commented:
I am not able to enter value in the connections dropdown. If I click on load button, it says "you mus select a saved connection. In the connection string as i entered provider=OraOLEDB.Oracle.1, I got the following error. I am not knowing what the provider value is.
 [System.InvalidOperationException] - The 'OraOLEDB.Oracle.1' provider is not registered on the local machine.
Mick BarryJava Developer
Top Expert 2010

Commented: