Persistence Manager: General Attributes
See Also
You see this page of the New File wizard when you are defining a persistence manager resource.
On this page you choose a JDBC connection resource and specify the JNDI name of the resource.
Use this page as follows:
- Select a JDBC resource. A persistence manager resource must be associated
with a JDBC resource. Choose one of the following ways for specifying the JDBC resource:
- Use Existing JDBC Resource. The combobox lists JDBC resources already
registered with the default server instance.
If the resource you want does not appear in the list, ensure that it is
registered with the default server instance.
If no resources are listed and you see <No JDBC Resource> in the combobox, ensure that the server instance is running.
- Create New JDBC Connection Pool. Select this option to create a new JDBC resource in the
wizard. You can also click Back and select JDBC Resource in the first screen of the
New File wizard.
- Enter values for the following fields:
- JNDI name (required). The JNDI name must be unique to this JDBC resource.
Because all resource JNDI names are in the java:comp/env subcontext,
when you specify the JNDI name of a persistence
resource enter only persistence/name. For example, persistence/myPersistenceRes.
- Factory class. Use the default factory class provided, or type in the class
of another implementation.
- Enabled. Set to true to enable the resource, or false to disable the resource.
- Description. Description of the resource (optional).
- Click Finish to create the resource or
click Next to proceed to the advanced properties screen.
The persistence manager resource is created in the setup directory in the Files window.
You can change the properties of the resource in the properties window.
The resource
needs to be registered with the server to make it available. After the resource is
registered, the resource appears in the Persistence Manager Resources node in the Application Server
instance node in the Runtime window.
- See Also
- Defining a Persistence Manager Resource
Legal Notices