Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "EclipseLink/Development/JPA 2.0/standard properties"

(Standardized Properties)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
= Standardized Properties =
+
= JPA 2.0: Standardized Properties =
  
 
[[EclipseLink/Development/JPA_2.0 | JPA 2.0 Root]] |  {{bug|249023}}
 
[[EclipseLink/Development/JPA_2.0 | JPA 2.0 Root]] |  {{bug|249023}}
 
== Summary==
 
 
In JPA 2.0 the specification has defined standard persistence unit properties for JDBC setting.  These properties will need to be supported
 
 
See JPA 2.0 ED section [https://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_JCP-Site/en_US/-/USD/ViewProductDetail-Start?ProductRef=persistence-2.0-pr-oth-JSpec@CDS-CDS_JCP 7.2.1.7] (previously 6.2.1.7) for details.
 
  
 
{|{{BMTableStyle}}
 
{|{{BMTableStyle}}
Line 19: Line 13:
 
|-
 
|-
 
|}
 
|}
 +
 +
== Summary==
 +
 +
In JPA 2.0 the specification has defined standard persistence unit properties for JDBC setting.  These properties will need to be supported
 +
 +
See JPA 2.0 ED section [https://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_JCP-Site/en_US/-/USD/ViewProductDetail-Start?ProductRef=persistence-2.0-pr-oth-JSpec@CDS-CDS_JCP 7.2.1.7] (previously 6.2.1.7) for details.
 +
 +
* Java EE and SE Properties
 +
** javax.persistence.lock.timeout — value in seconds for pessimistic lock timeout
 +
** javax.persistence.query.timeout — value in seconds for query timeout
 +
* Java SE Properties
 +
** javax.persistence.jdbc.driver — fully qualified name of the driver class
 +
** javax.persistence.jdbc.url — driver-specific URL
 +
** javax.persistence.jdbc.user — username used by database connection
 +
** javax.persistence.jdbc.password — password for database connection validation
  
 
=== Work Estimate ===
 
=== Work Estimate ===
Line 29: Line 38:
 
== Functional Requirements ==
 
== Functional Requirements ==
  
Should be a simple translation to our existing properties. We will want to deprecate our existing properties.
+
* Support using new standard property names
 +
* Support using existing eclipselink.jdbc properties  
  
 
== Design ==
 
== Design ==
Line 38: Line 48:
  
 
== Open Issues ==
 
== Open Issues ==
 +
 +
# Deprecation of existing properties
 +
#* Backwards compatibility?
 +
#* Forward Migration?
 +
#* When should we finally remove the eclipselink.* properties?

Revision as of 14:23, 2 February 2009

JPA 2.0: Standardized Properties

JPA 2.0 Root | bug 249023

Date Committer(s) Description
Feb 2, 2009 dclarke Initial feature template

Summary

In JPA 2.0 the specification has defined standard persistence unit properties for JDBC setting. These properties will need to be supported

See JPA 2.0 ED section 7.2.1.7 (previously 6.2.1.7) for details.

  • Java EE and SE Properties
    • javax.persistence.lock.timeout — value in seconds for pessimistic lock timeout
    • javax.persistence.query.timeout — value in seconds for query timeout
  • Java SE Properties
    • javax.persistence.jdbc.driver — fully qualified name of the driver class
    • javax.persistence.jdbc.url — driver-specific URL
    • javax.persistence.jdbc.user — username used by database connection
    • javax.persistence.jdbc.password — password for database connection validation

Work Estimate

  1. Develop model for testing access type settings
    approx 2 days
  2. Update processing
    approx 2 days

Functional Requirements

  • Support using new standard property names
  • Support using existing eclipselink.jdbc properties

Design

Documentation

Testing

Open Issues

  1. Deprecation of existing properties
    • Backwards compatibility?
    • Forward Migration?
    • When should we finally remove the eclipselink.* properties?

Back to the top