You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Jeremy Bauer (JIRA)" <ji...@apache.org> on 2009/11/03 23:38:36 UTC

[jira] Commented: (OPENJPA-1083) org.apache.openjpa.persistence.kernel.TestEJBState fails with two exceptions ORA-00904 and ORA-02275 against oracleDB.

    [ https://issues.apache.org/jira/browse/OPENJPA-1083?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12773252#action_12773252 ] 

Jeremy Bauer commented on OPENJPA-1083:
---------------------------------------

I've been working on an Oracle test failure(TestRelationFieldAsPrimaryKeyAndForeignKey.testQuery) in trunk that is identical to this issue.  I thought this fix would have corrected the problem, but I discovered that the fix works great for single column foreign keys, but does not work with multi-column keys.  I have an addendum to the original fix that I'll be committing to trunk shortly.

> org.apache.openjpa.persistence.kernel.TestEJBState fails with two exceptions ORA-00904 and ORA-02275 against oracleDB.
> ----------------------------------------------------------------------------------------------------------------------
>
>                 Key: OPENJPA-1083
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-1083
>             Project: OpenJPA
>          Issue Type: Sub-task
>    Affects Versions: 2.0.0-M2
>            Reporter: Ravi P Palacherla
>            Assignee: Michael Dick
>             Fix For: 1.3.0, 2.0.0-M3
>
>         Attachments: OPENJPA-1083.patch, OPENJPA-1083_option1.patch, OPENJPA-1083_option2.patch, OPENJPA-1083_trunk.patch
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Re: [jira] Commented: (OPENJPA-1083) org.apache.openjpa.persistence.kernel.TestEJBState fails with two exceptions ORA-00904 and ORA-02275 against oracleDB.

Posted by Jeremy Bauer <te...@gmail.com>.
Thanks, Ravi.  If you have some time to review the fix, that'd be great.
The test was failing on HSQLDB as well as Oracle.  With the fix, it passes
on both DBs.

-Jeremy

On Wed, Nov 4, 2009 at 1:18 PM, Ravi Palacherla
<ra...@oracle.com>wrote:

> Jeremy.
>
> Looks like you already have a fix for multi-column keys.
> Please let me know if you need anything from me.
>
> Thanks,
> Ravi.
>
> -----Original Message-----
> From: Jeremy Bauer (JIRA) [mailto:jira@apache.org]
> Sent: Tuesday, November 03, 2009 3:39 PM
> To: dev@openjpa.apache.org
> Subject: [jira] Commented: (OPENJPA-1083)
> org.apache.openjpa.persistence.kernel.TestEJBState fails with two exceptions
> ORA-00904 and ORA-02275 against oracleDB.
>
>
>    [
> https://issues.apache.org/jira/browse/OPENJPA-1083?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12773252#action_12773252]
>
> Jeremy Bauer commented on OPENJPA-1083:
> ---------------------------------------
>
> I've been working on an Oracle test
> failure(TestRelationFieldAsPrimaryKeyAndForeignKey.testQuery) in trunk that
> is identical to this issue.  I thought this fix would have corrected the
> problem, but I discovered that the fix works great for single column foreign
> keys, but does not work with multi-column keys.  I have an addendum to the
> original fix that I'll be committing to trunk shortly.
>
> > org.apache.openjpa.persistence.kernel.TestEJBState fails with two
> exceptions ORA-00904 and ORA-02275 against oracleDB.
> >
> ----------------------------------------------------------------------------------------------------------------------
> >
> >                 Key: OPENJPA-1083
> >                 URL: https://issues.apache.org/jira/browse/OPENJPA-1083
> >             Project: OpenJPA
> >          Issue Type: Sub-task
> >    Affects Versions: 2.0.0-M2
> >            Reporter: Ravi P Palacherla
> >            Assignee: Michael Dick
> >             Fix For: 1.3.0, 2.0.0-M3
> >
> >         Attachments: OPENJPA-1083.patch, OPENJPA-1083_option1.patch,
> OPENJPA-1083_option2.patch, OPENJPA-1083_trunk.patch
> >
> >
>
>
> --
> This message is automatically generated by JIRA.
> -
> You can reply to this email to add a comment to the issue online.
>
>

RE: [jira] Commented: (OPENJPA-1083) org.apache.openjpa.persistence.kernel.TestEJBState fails with two exceptions ORA-00904 and ORA-02275 against oracleDB.

Posted by Ravi Palacherla <ra...@oracle.com>.
Jeremy.

Looks like you already have a fix for multi-column keys.
Please let me know if you need anything from me.

Thanks,
Ravi.

-----Original Message-----
From: Jeremy Bauer (JIRA) [mailto:jira@apache.org] 
Sent: Tuesday, November 03, 2009 3:39 PM
To: dev@openjpa.apache.org
Subject: [jira] Commented: (OPENJPA-1083) org.apache.openjpa.persistence.kernel.TestEJBState fails with two exceptions ORA-00904 and ORA-02275 against oracleDB.


    [ https://issues.apache.org/jira/browse/OPENJPA-1083?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12773252#action_12773252 ] 

Jeremy Bauer commented on OPENJPA-1083:
---------------------------------------

I've been working on an Oracle test failure(TestRelationFieldAsPrimaryKeyAndForeignKey.testQuery) in trunk that is identical to this issue.  I thought this fix would have corrected the problem, but I discovered that the fix works great for single column foreign keys, but does not work with multi-column keys.  I have an addendum to the original fix that I'll be committing to trunk shortly.

> org.apache.openjpa.persistence.kernel.TestEJBState fails with two exceptions ORA-00904 and ORA-02275 against oracleDB.
> ----------------------------------------------------------------------------------------------------------------------
>
>                 Key: OPENJPA-1083
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-1083
>             Project: OpenJPA
>          Issue Type: Sub-task
>    Affects Versions: 2.0.0-M2
>            Reporter: Ravi P Palacherla
>            Assignee: Michael Dick
>             Fix For: 1.3.0, 2.0.0-M3
>
>         Attachments: OPENJPA-1083.patch, OPENJPA-1083_option1.patch, OPENJPA-1083_option2.patch, OPENJPA-1083_trunk.patch
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.