
| Key: |
JDO-418
|
| Type: |
Bug
|
| Status: |
Closed
|
| Resolution: |
Invalid
|
| Priority: |
Minor
|
| Assignee: |
Unassigned
|
| Reporter: |
Marc Prud'hommeaux
|
| Votes: |
0
|
| Watchers: |
0
|
|
If you were logged in you would be able to see more operations.
|
|
|
| Resolution Date: |
06/Sep/06 08:29 AM
|
|
org.apache.jdo.tck.api.persistencemanager.DataStoreConnection assumes that the transaction returned from getDataStoreConnection will be re-used once a JDO transaction is started, but that assertion is only valid when using datastore transactions, and the test case does not ensure that a datastore transaction is being used.
The solution is to call "getPM().currentTransaction().setOptimistic(false);" just before "getPM().currentTransaction().begin();" in the testDataStoreConnection() test case.
|
|
Description
|
org.apache.jdo.tck.api.persistencemanager.DataStoreConnection assumes that the transaction returned from getDataStoreConnection will be re-used once a JDO transaction is started, but that assertion is only valid when using datastore transactions, and the test case does not ensure that a datastore transaction is being used.
The solution is to call "getPM().currentTransaction().setOptimistic(false);" just before "getPM().currentTransaction().begin();" in the testDataStoreConnection() test case.
|
Show » |
|
JDO-415when I should have instead made a new issue. Marking as "Invalid".