Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
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
Posts: 3974
24
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
Boost this thread!