1

Is there any plugin available for Eclipse or Netbeans or any other IDE which can help me generate the hbm.xml by directly reading the schema from the database.

Writing those XMLs seem to be unnecessary waste of time, and feel it should be automated.

3 Answers 3

4

For NetBeans, have a look at Using Hibernate in a Web Application.

For Eclipse, use the Hibernate Tools plugin. Here is a tutorial demonstrating how to use its Reverse Engineering feature.

Sign up to request clarification or add additional context in comments.

Comments

1

Hibernate Synchronizer can help also.

Comments

0

Hibernate Tools includes all sorts of tools for doing hbm and class conversions.

1 Comment

could you please give specific pointers. I am looking for a tool to generate the hbm xml by reading the table schema directly. i am not interested in writing the whole set of xmls.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.