Java Reference
In-Depth Information
At this point, we should specify the values for the Class Name and Package fields
( Customer and com.ensode.jpaweb in our example).
Projects using JPA require a persistence unit. This persistence unit is defined in a
file called persistence.xml . When we create our first JPA entity for the project,
NetBeans detects that no persistence.xml exists and automatically checks the
checkbox labeled Create Persistence Unit . The next step in the wizard allows us to
enter the necessary information to create the persistence unit.
 
Search WWH ::




Custom Search