You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jdo-dev@db.apache.org by "Ilan Kirsh (JIRA)" <ji...@apache.org> on 2006/07/25 09:23:13 UTC

[jira] Created: (JDO-400) IsTransactionalFalse - Should work with optimistic transactions?

IsTransactionalFalse - Should work with optimistic transactions?
----------------------------------------------------------------

                 Key: JDO-400
                 URL: http://issues.apache.org/jira/browse/JDO-400
             Project: JDO
          Issue Type: Bug
            Reporter: Ilan Kirsh


org.apache.jdo.tck.api.jdohelper.IsTransactionalFalse fails if in line 86 p1 is not persistent clean, but if the transaction is optimistic p1 is expected to be persistent non transactional, doesn't it?

-- 
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

        

[jira] Assigned: (JDO-400) IsTransactionalFalse - Should work with optimistic transactions?

Posted by "Craig Russell (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/JDO-400?page=all ]

Craig Russell reassigned JDO-400:
---------------------------------

    Assignee: Craig Russell

> IsTransactionalFalse - Should work with optimistic transactions?
> ----------------------------------------------------------------
>
>                 Key: JDO-400
>                 URL: http://issues.apache.org/jira/browse/JDO-400
>             Project: JDO
>          Issue Type: Bug
>            Reporter: Ilan Kirsh
>         Assigned To: Craig Russell
>             Fix For: JDO 2 maintenance release 1
>
>
> org.apache.jdo.tck.api.jdohelper.IsTransactionalFalse fails if in line 86 p1 is not persistent clean, but if the transaction is optimistic p1 is expected to be persistent non transactional, doesn't it?

-- 
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

        

[jira] Updated: (JDO-400) IsTransactionalFalse - Should work with optimistic transactions?

Posted by "Craig Russell (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/JDO-400?page=all ]

Craig Russell updated JDO-400:
------------------------------

    Attachment: JDO-400.patch

Right. The transaction in which the instance is touched must be datastore, not optimistic. 

The attached patch explicitly marks the transaction as datastore in order to reliably make the instance transactional.

> IsTransactionalFalse - Should work with optimistic transactions?
> ----------------------------------------------------------------
>
>                 Key: JDO-400
>                 URL: http://issues.apache.org/jira/browse/JDO-400
>             Project: JDO
>          Issue Type: Bug
>            Reporter: Ilan Kirsh
>         Assigned To: Craig Russell
>             Fix For: JDO 2 maintenance release 1
>
>         Attachments: JDO-400.patch
>
>
> org.apache.jdo.tck.api.jdohelper.IsTransactionalFalse fails if in line 86 p1 is not persistent clean, but if the transaction is optimistic p1 is expected to be persistent non transactional, doesn't it?

-- 
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

        

[jira] Updated: (JDO-400) IsTransactionalFalse - Should work with optimistic transactions?

Posted by "Michael Bouschen (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/JDO-400?page=all ]

Michael Bouschen updated JDO-400:
---------------------------------

    Fix Version/s: JDO 2.0 TCK challenge fixes

I merged the change from the trunk into brach 2.0.1 (see revision 452630).

> IsTransactionalFalse - Should work with optimistic transactions?
> ----------------------------------------------------------------
>
>                 Key: JDO-400
>                 URL: http://issues.apache.org/jira/browse/JDO-400
>             Project: JDO
>          Issue Type: Bug
>            Reporter: Ilan Kirsh
>         Assigned To: Craig Russell
>             Fix For: JDO 2 maintenance release 1, JDO 2.0 TCK challenge fixes
>
>         Attachments: JDO-400.patch
>
>
> org.apache.jdo.tck.api.jdohelper.IsTransactionalFalse fails if in line 86 p1 is not persistent clean, but if the transaction is optimistic p1 is expected to be persistent non transactional, doesn't it?

-- 
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

        

[jira] Updated: (JDO-400) IsTransactionalFalse - Should work with optimistic transactions?

Posted by "Craig Russell (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/JDO-400?page=all ]

Craig Russell updated JDO-400:
------------------------------

    Fix Version/s: JDO 2 maintenance release 1

Need to resolve these issues for maintenance release 1.

> IsTransactionalFalse - Should work with optimistic transactions?
> ----------------------------------------------------------------
>
>                 Key: JDO-400
>                 URL: http://issues.apache.org/jira/browse/JDO-400
>             Project: JDO
>          Issue Type: Bug
>            Reporter: Ilan Kirsh
>             Fix For: JDO 2 maintenance release 1
>
>
> org.apache.jdo.tck.api.jdohelper.IsTransactionalFalse fails if in line 86 p1 is not persistent clean, but if the transaction is optimistic p1 is expected to be persistent non transactional, doesn't it?

-- 
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

        

[jira] Commented: (JDO-400) IsTransactionalFalse - Should work with optimistic transactions?

Posted by "Michael Bouschen (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/JDO-400?page=comments#action_12424420 ] 
            
Michael Bouschen commented on JDO-400:
--------------------------------------

The patch looks good!

> IsTransactionalFalse - Should work with optimistic transactions?
> ----------------------------------------------------------------
>
>                 Key: JDO-400
>                 URL: http://issues.apache.org/jira/browse/JDO-400
>             Project: JDO
>          Issue Type: Bug
>            Reporter: Ilan Kirsh
>         Assigned To: Craig Russell
>             Fix For: JDO 2 maintenance release 1
>
>         Attachments: JDO-400.patch
>
>
> org.apache.jdo.tck.api.jdohelper.IsTransactionalFalse fails if in line 86 p1 is not persistent clean, but if the transaction is optimistic p1 is expected to be persistent non transactional, doesn't it?

-- 
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

        

[jira] Updated: (JDO-400) IsTransactionalFalse - Should work with optimistic transactions?

Posted by "Michael Bouschen (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/JDO-400?page=all ]

Michael Bouschen updated JDO-400:
---------------------------------

          Component/s: tck20
    Affects Version/s: JDO 2 final

> IsTransactionalFalse - Should work with optimistic transactions?
> ----------------------------------------------------------------
>
>                 Key: JDO-400
>                 URL: http://issues.apache.org/jira/browse/JDO-400
>             Project: JDO
>          Issue Type: Bug
>          Components: tck20
>    Affects Versions: JDO 2 final
>            Reporter: Ilan Kirsh
>         Assigned To: Craig Russell
>             Fix For: JDO 2 maintenance release 1, JDO 2.0 TCK challenge fixes
>
>         Attachments: JDO-400.patch
>
>
> org.apache.jdo.tck.api.jdohelper.IsTransactionalFalse fails if in line 86 p1 is not persistent clean, but if the transaction is optimistic p1 is expected to be persistent non transactional, doesn't it?

-- 
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

        

[jira] Resolved: (JDO-400) IsTransactionalFalse - Should work with optimistic transactions?

Posted by "Craig Russell (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/JDO-400?page=all ]

Craig Russell resolved JDO-400.
-------------------------------

    Resolution: Fixed

svn commit -m "JDO-400 Set transaction type to datastore explicitly so instance read becomes transactional" src/java/org/apache/jdo/tck/api/jdohelper/IsTransactionalFalse.java
Sending        src/java/org/apache/jdo/tck/api/jdohelper/IsTransactionalFalse.java
Transmitting file data .
Committed revision 426928.


> IsTransactionalFalse - Should work with optimistic transactions?
> ----------------------------------------------------------------
>
>                 Key: JDO-400
>                 URL: http://issues.apache.org/jira/browse/JDO-400
>             Project: JDO
>          Issue Type: Bug
>            Reporter: Ilan Kirsh
>         Assigned To: Craig Russell
>             Fix For: JDO 2 maintenance release 1
>
>         Attachments: JDO-400.patch
>
>
> org.apache.jdo.tck.api.jdohelper.IsTransactionalFalse fails if in line 86 p1 is not persistent clean, but if the transaction is optimistic p1 is expected to be persistent non transactional, doesn't it?

-- 
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