Java Persistence API (JPA) Extensions Reference for EclipseLink, Release 2.5
  Go To Table Of Contents


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


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

Table 5-43 Valid Values for jdbc.connector

Value Description


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.


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: