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

Ravi P Palacherla edited comment on OPENJPA-1083 at 5/19/09 1:35 PM:
---------------------------------------------------------------------

Hi Michael,

I spent last couple of days on this issue and came up with a solution as 
described in #1 in my previous comment.
That is to retrieve the FK name from DB while deleting the FK constraint.
Even though this solution works fine it could be costly as it involves going to 
DB to fetch the FK name.
So I am still researching on a less expensive solution.

Can you commit my attached changes on this JIRA as it fixed the testcase and I 
will open a new JIRA to handle the actual foreign key issue.

Regards,
Ravi.


      was (Author: rpalache):
    Hi Michael,

I spent last couple of days on this issue and came up with a solution as 
described in #1 in my previous comment.
That is to retrieve the FK name from DB while deleting the FK constraint.
Even though this solution works fine it could be costly as it involves going to 
DB to fetch the FK name.
So I am still researching on a less expensive solution.

Can you commit my attached changes on this JIRA as it fixes the testcase and I 
will open a new JIRA to handle the actual foreign key issue.

Regards,
Ravi.

  
> 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
>            Reporter: Ravi P Palacherla
>            Assignee: Michael Dick
>         Attachments: OPENJPA-1083.patch
>
>


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

Reply via email to