aspose file tools
The moose likes Object Relational Mapping and the fly likes Generating entity classes and database schema from a Hibernate XML config file Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Object Relational Mapping
Reply Bookmark "Generating entity classes and database schema from a Hibernate XML config file" Watch "Generating entity classes and database schema from a Hibernate XML config file" New topic
Author

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

Piotr Smith
Greenhorn

Joined: Feb 01, 2012
Posts: 1
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

Joined: Mar 24, 2008
Posts: 3563

Default strategy is form schema (JDBC) to Java types. Alternatively, it can be achieved with xml config as explained here.


SCJP 5 | SCWCD 5
[How to ask questions] [Twitter]
 
 
subject: Generating entity classes and database schema from a Hibernate XML config file
 
Threads others viewed
How to generate Domain Objects using JPA
JNDI error message
Tools for Hibernate?
Hibernate/JSP: NoClassDefFoundError
How to read from XSD generated database and put that data into XML file.
MyEclipse, The Clear Choice