The Enterprise JavaBeans (EJB) 3.0 specification includes an additional persistence specification called the Java Persistence API (JPA), which is an API for creating, removing and querying across lightweight Java objects. The EJB 3.0 specification no longer refers to entities as "beans", they are now JPA entities.
To begin creating JPA entities, you will launch the Create Entities from Tables wizard. To launch the wizard, in the Application Navigator, right-click the project and choose New . In the New Gallery, expand Business Tier in the Categories tree, select EJB, and in the Items list select Entities from Tables. Click OK.
In the Create Entities from Tables wizard, you will select the EJB 3.0 version.
On the Persistence Unit page of the wizard, you will not elect to create a new persistence unit.
On the Select Tables page of the wizard, you will select the PRODUCTS_BASE table in the FOD schema.
Copyright © 1997, 2009, Oracle. All rights reserved.false ,,,,,,,,,,,,,,,