db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig Russell (JIRA)" <j...@apache.org>
Subject [jira] Updated: (JDO-191) Add test for PersistenceManager.getDataStoreConnection()
Date Fri, 24 Feb 2006 22:42:58 GMT
     [ http://issues.apache.org/jira/browse/JDO-191?page=all ]

Craig Russell updated JDO-191:

    Fix Version: JDO 2 final
                     (was: JDO 2 rc1)

> Add test for PersistenceManager.getDataStoreConnection()
> --------------------------------------------------------
>          Key: JDO-191
>          URL: http://issues.apache.org/jira/browse/JDO-191
>      Project: JDO
>         Type: Test
>   Components: tck20
>     Versions: JDO 2 beta
>  Environment: TCK
>     Reporter: Craig Russell
>      Fix For: JDO 2 final

> 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:
For more information on JIRA, see:

View raw message