JPA

This catalog is meant to generate some components of the JPA framework.

This catalog contains the following components:

  • jpa-config to generate a JPA xml configuration file persistence.xml. Please be aware that this file is specifically designed to be used with Hibernate ORM tool.
  • jpa-bean to generate JPA annotated beans (JPA Beans).
  • jpa-dao to generate JPA DAOs.

Before using this catalog, it is advised to learn to use Akrogen.

Catalog installation

After having installed Akrogen, you must download jpa-catalog catalog.

Unzip distribution and refer this catalog into your Eclipse project to use it.

Catalog usage

Akrogen can generate components with Wizard or Composant by using catalog view. Once you have referenced JPA catalog, view catalog must display JPA Components as shown in the following snapshot :