• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Generating entity classes and database schema from a Hibernate XML config file

 
Piotr Smith
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there a tool for generating entity classes and database schemas from a Hibernate XML config file?
In PHP Symfony framework (based on Doctrine) for creating schema and model classes I've been using:

How can I achieve this in Hibernate?
I found only Reverse Engineering tool for generating config file and entity classes based on schema, but that's not what I'm looking for.
 
Vijitha Kumara
Bartender
Pie
Posts: 3930
21
Chrome Fedora Hibernate
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Default strategy is form schema (JDBC) to Java types. Alternatively, it can be achieved with xml config as explained here.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic