DataNucleus JIRA is now in read-only mode. Raise any new issues in GitHub against the plugin that it applies to. DataNucleus JIRA will remain for the foreseeable future but will eventually be discontinued
Issue Details (XML | Word | Printable)

Key: NUCRDBMS-728
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Trivial Trivial
Assignee: Unassigned
Reporter: Andy Jefferson
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
DataNucleus Store RDBMS

M-N join table is created with element permitting nulls - both columns should be "NOT NULL"

Created: 20/Dec/13 04:11 PM   Updated: 21/Dec/13 11:37 AM   Resolved: 20/Dec/13 04:21 PM
Component/s: Schema
Affects Version/s: 3.0.10, 3.1.5, 3.2.9
Fix Version/s: 3.2.10


 Description  « Hide
Schema comes out as

CREATE TABLE CUSTOMERS_SUPPLIERS
(
    CUSTOMER_ID BIGINT NOT NULL,
    SUPPLIER_ID BIGINT NULL
)

but should be

CREATE TABLE CUSTOMERS_SUPPLIERS
(
    CUSTOMER_ID BIGINT NOT NULL,
    SUPPLIER_ID BIGINT NOT NULL
)

Andy Jefferson added a comment - 20/Dec/13 04:21 PM
GitHub master fixes this

Andy Jefferson made changes - 20/Dec/13 04:21 PM
Field Original Value New Value
Status Open [ 1 ] Resolved [ 5 ]
Resolution Fixed [ 1 ]
Andy Jefferson made changes - 21/Dec/13 11:37 AM
Status Resolved [ 5 ] Closed [ 6 ]