Hibernate POJO Generator

The parent project of Hibernate POJO Generator artifacts.

License

License

GroupId

GroupId

com.github.wwadge
ArtifactId

ArtifactId

hbnpojogen
Last Version

Last Version

1.5.11
Release Date

Release Date

Type

Type

pom
Description

Description

Hibernate POJO Generator
The parent project of Hibernate POJO Generator artifacts.
Project URL

Project URL

https://github.com/wwadge/hbnpojogen
Source Code Management

Source Code Management

https://github.com/wwadge/hbnpojogen

Download hbnpojogen

Filename Size
hbnpojogen-1.5.11.pom 6 KB
Browse

How to add to project

<!-- https://jarcasting.com/artifacts/com.github.wwadge/hbnpojogen/ -->
<dependency>
    <groupId>com.github.wwadge</groupId>
    <artifactId>hbnpojogen</artifactId>
    <version>1.5.11</version>
    <type>pom</type>
</dependency>
// https://jarcasting.com/artifacts/com.github.wwadge/hbnpojogen/
implementation 'com.github.wwadge:hbnpojogen:1.5.11'
// https://jarcasting.com/artifacts/com.github.wwadge/hbnpojogen/
implementation ("com.github.wwadge:hbnpojogen:1.5.11")
'com.github.wwadge:hbnpojogen:pom:1.5.11'
<dependency org="com.github.wwadge" name="hbnpojogen" rev="1.5.11">
  <artifact name="hbnpojogen" type="pom" />
</dependency>
@Grapes(
@Grab(group='com.github.wwadge', module='hbnpojogen', version='1.5.11')
)
libraryDependencies += "com.github.wwadge" % "hbnpojogen" % "1.5.11"
[com.github.wwadge/hbnpojogen "1.5.11"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

  • hbnpojogen-core
  • hbnpojogen-persistence
  • hbnpojogen-maven

hbnpojogen

Hibernate Pojo Generator

What does it do?

Given an accessible database schema, the Hibernate POJO Generator produces all the Java code necessary to access each field in each table via the Hibernate persistence framework. Additionally, the generator also creates all the necessary helper classes and test units for each component.

Features

Given a source database, Hibernate POJO Generator (hbnPojoGen) generates:

  • Java objects representing each table using annotations for use with Hibernate.
  • A JUnit test case per table that uses the objects generated to create, populate, save, retrieve and compare results
  • DAO per class
  • The appropriate enumeration files
  • Spring and hibernate configuration
  • DAO layers
  • A data factory class per schema to return a pre-populated object with random data (for boundary checking, database population, etc)

Also supports

  • Join tables including those with additional fields in link tables
  • Polymorphism/inheritance support
  • Composite Keys
  • One-To-One, many-to-one, many-to-many, etc
  • Multiple schema support (4 modes)
  • Natural Keys
  • Enumerations (including those entries which cannot be mapped cleanly onto the java world)
  • A whole bunch of more stuff (see sample.xml)

Please see sample.xml for a very documented list of available features.

Versions

Version
1.5.11
1.5.10
1.5.9
1.5.8
1.5.7
1.5.6
1.5.5
1.5.4
1.5.3
1.5.2
1.5.1
1.5
1.4.39
1.4.38
1.4.36
1.4.35
1.4.34
1.4.33
1.4.32