[ 
https://issues.apache.org/jira/browse/METAMODEL-110?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14298485#comment-14298485
 ] 

sai dhiraj v commented on METAMODEL-110:
----------------------------------------

Thanks for the quick responce,
I am trying to disable the foreign key relation ship in a table(sql server) 
with meta model..but i am unable to do so.. 

> Not able to remove foreignkey relationship
> ------------------------------------------
>
>                 Key: METAMODEL-110
>                 URL: https://issues.apache.org/jira/browse/METAMODEL-110
>             Project: Apache MetaModel
>          Issue Type: Bug
>            Reporter: sai dhiraj v
>
> Relationship[] relationships = schema.getRelationships();
>               Table t = schema.getTableByName("Table3");
>               Relationship[]  rs = t.getForeignKeyRelationships();
>               MutableRelationship r = (MutableRelationship)rs[0];
>               r.remove();



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to