Issue Details (XML | Word | Printable)

Key: JDO-449
Type: New Feature New Feature
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Craig Russell
Reporter: Michelle Caisse
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
JDO

Add properties for configuring PMF that are consistent with JPA TransactionType Persistence Unit Name

Created: 08/Dec/06 11:24 PM   Updated: 20/Feb/07 11:35 PM
Return to search
Component/s: api2, api2-legacy
Affects Version/s: JDO 2 final
Fix Version/s: JDO 2 maintenance release 1

Time Tracking:
Not Specified

Resolution Date: 20/Feb/07 11:35 PM


 Description  « Hide
In Chapter 11, add properties for configuring PersistenceManagerFactory that are consistent with JPA specification of TransactionType and Persistence Unit Name.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Craig Russell added a comment - 19/Dec/06 11:19 PM
Here is the proposed specification update for Chapter 11:

The following properties can only be set in the PersistenceManagerFactory:
Mapping: the name of the mapping model for object-to-datastore mapping
Catalog: the name of the catalog for object-to-relational mapping
Schema: the name of the schema for object-to-relational mapping
PersistenceUnitName: the name of the Persistence Unit corresponding to the PersistenceManagerFactory
TransactionType: the type of transaction management used by this PersistenceManagerFactory; allowable values are JTA and RESOURCE_LOCAL, corresponding to the definitions of these terms in the JSR-220 specification.

Craig Russell added a comment - 15/Feb/07 11:50 PM
Please see related issue JDO-445 for the combined patch for this issue.

Craig Russell added a comment - 20/Feb/07 11:35 PM
svn commit -m "JDO-445 JDO-449 JDO-462 Updated PersistenceManager and PersistenceManagerFactory with new methods" api20/src/java/javax/jdo/PersistenceManagerFactory.java api20/src/java/javax/jdo/PersistenceManager.java tck20/src/conf/jdo-2_0-signatures.txt
Sending api20/src/java/javax/jdo/PersistenceManager.java
Sending api20/src/java/javax/jdo/PersistenceManagerFactory.java
Sending tck20/src/conf/jdo-2_0-signatures.txt
Transmitting file data ...
Committed revision 509809.