Add test for PersistenceManager.getDataStoreConnection()
--------------------------------------------------------
Key: JDO-191
URL: http://issues.apache.org/jira/browse/JDO-191
Project: JDO
Type: Test
Components: tck20
Environment: TCK
Reporter: Craig Russell
A12.16-1 [JDOConnection getDataStoreConnection(); If this method is called
while a datastore transaction is active, the object returned will be enlisted
in the current transaction. If called in an optimistic transaction before flush
has been called, or outside an active transaction, the object returned will not
be enlisted in any transaction.]]
The tests use the PCPoint class and a jdbc Connection.
The first test verifies that an object inserted into the PCPoint table during a
transaction is visible by getObjectById in the same transaction.
The second test verifies that an object inserted into the PCPoint table outside
a transaction is visible in the next transaction.
The test needs to work with the jdbc library from the standard JDK 1.3 (JDBC
2.0).
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira