Java Persistence API (JPA) Extensions Reference for EclipseLink, Release 2.4
  Go To Table Of Contents
 Search
 PDFComments
Comments


jdbc.connector

Use eclipselink.jdbc.connector to define a custom connector to connect to the database.


Values

Table 5-43 describes this persistence property's values.

Table 5-43 Valid Values for jdbc.connector

Value Description




Usage

You can use this property to connect to a non-standard connection pool, or provide customized details on how to obtain a connection.

This property is not required when using a DataSource or JDBC DriverManager is used.


Examples

Example 5-36 Using jdbc.connector in persistence.xml


Example 5-37 Using jdbc.connector in a Property Map



See Also

For more information, see: