Creating JPA entity beans
You can create JPA entity beans from a wizard, by adding persistence to a POJO, or from existing database tables.
- Creating a JPA entity bean using a wizard
You can create JPA entity beans using the New Entity wizard. - Creating a JPA entity bean by adding persistence to a POJO
With the JPA Tools, you can create a JPA entity bean and add persistence to plain old Java objects (POJOs). - Creating JPA entity beans in a JPA project from database tables
You can generate JPA entity beans from existing database tables (bottom-up mapping). - Creating JPA entity beans in a JPA-enabled web project from existing database tables
You can create JPA entity beans for a JPA-enabled web project by generating the beans from existing database tables. - Generating database tables from entity beans (top-down mapping)
Using the JPA tools, you can generate data definition language (DDL) files for creating database tables from entity beans that you create.
Parent topic: Developing Java Persistence API (JPA) applications

