[ 
https://issues.apache.org/jira/browse/JDO-781?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andy Jefferson closed JDO-781.
------------------------------
    Resolution: Invalid

Nothing to do with the Apache JDO project

> ForeignKey constructor should be called with consistent initiallyDeferred 
> value
> -------------------------------------------------------------------------------
>
>                 Key: JDO-781
>                 URL: https://issues.apache.org/jira/browse/JDO-781
>             Project: JDO
>          Issue Type: Improvement
>            Reporter: László Bodor
>            Priority: Major
>
> https://github.com/datanucleus/datanucleus-rdbms/blob/master/src/main/java/org/datanucleus/store/rdbms/table/TableUtils.java#L131
> {code}
> ForeignKey fk = new ForeignKey(fieldMapping, storeMgr.getDatastoreAdapter(), 
> referencedTable, true);
> {code}
> as we have reference here for the datastore adapter, initiallyDeferred=true 
> parameter could be changed to:
> {code}
> storeMgr.getDatastoreAdapter().supportsOption(DatastoreAdapter.DEFERRED_CONSTRAINTS)
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to