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 Tue, 07 Mar 2006 19:12:39 GMT
     [ http://issues.apache.org/jira/browse/JDO-191?page=all ]

Craig Russell updated JDO-191:
------------------------------

    Attachment: DataStoreConnection.java
                DataStoreConnectionThrows.java

These test programs test the ability to get data from the JDBC Connection for implementations
that support the getDataStoreConnection and SQL optional features.

Currently JPOX fails the DataStoreConnectionThrows tests because it passes the Connection
object directly to the user instead of wrapping it.

Note that JPOX could add a feature to permit restricted Connection methods to be used by setting
a property, e.g. org.jpox.jdoconnection.Unrestricted.

> 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
>  Attachments: DataStoreConnection.java, DataStoreConnection.java, DataStoreConnectionThrows.java
>
> 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 jdbc Connection.
> 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


Mime
View raw message