Configuring JPA manager beans
To configure a JPA manager bean:
- In Enterprise Explorer, right-click the JPA manager bean that you want to configure and select
JPA Tools | Configure JPA Manager Beans. The JPA Manager Bean wizard opens.
- In the JPA manager list, select the manager bean that you want to configure and click Next.
- For each manager bean, you can configure:
- Primary Key
- For each manager bean, specify the primary key. The primary key uniquely identifies each record in a set of data.
- Query Methods
- Add new query methods, edit existing query methods, or delete query methods associated with a JPA Manager Bean. The query method is added to your JPA Manager Bean and determines which JPA data is displayed on the Web page.
- Relationships
- Add new relationships between JPA entities or delete relationships.
- Concurrency Control
- Specify the optimistic lock value for the entity. The optimistic lock value ensures that correct results for concurrent operations are generated.
- Advanced options
- Set advanced options.