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

Michael Dick commented on OPENJPA-1083:
---------------------------------------

Hi Ravi,

I think there's a larger problem here. We're able to create a FK without a name 
but unable to remove one. The relevant methods are getDropForeignKeySQL and 
getForeignKeyConstraintSQL().. 

Either it should be impossible to have an unnamed FK constraint when we call 
getDropFKSQL or we need to make those two methods consistent.. 

As far as the patch goes the approach will work for the 
getDeleteTableContentsSQL method, but we may still have a (potentially) larger 
problem to solve. 

> 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