[ https://issues.apache.org/jira/browse/JDO-781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17044794#comment-17044794 ]
Craig L Russell edited comment on JDO-781 at 2/25/20 8:11 PM: -------------------------------------------------------------- DataNucleus is the reference implementation for JDO. The Apache JDO project deals with the specification, API, and TCK. This issue is related to DataNucleus, not the JDO project. Please file a bug report with DataNucleus. http://www.datanucleus.org/documentation/problem_reporting.html was (Author: clr): This issue is related to DataNucleus, not the JDO project. Please file a bug report with DataNucleus. http://www.datanucleus.org/documentation/problem_reporting.html > 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)