Sleep mode for the POJO generator

I went to Hibernate for the POJO Generator and found this Hibernate POJO Generator .

I downloaded its jar file, but could not find a way to use it.

I want to generate all the related Hibernate DAO classes by providing a DB table schema.

I know that another way is to use the eclipse plugin, but I want to generate classes from the Hibernate POJO Generator.

+4
source share
4 answers

The usage is described on the Example usage page:

HbnPojoGen is not yet an eclipse plugin.

To use, run the jar file provided along with the configuration file that you must configure to your like the following:

java -jar hbnPojoGen.jar config.xml 

The configuration file contains everything you need to create the source code.

+6
source

An example configuration file can be found in the following location

http://hibernatepojoge.sourceforge.net/

set the correct configuration and run as a jar, it will create the necessary display fields.

+1
source

I used dali to create my pojo from a database schema

0
source

You can also run this tool through the provided maven plugin.

0
source

All Articles