You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This means that those settings are ON thereafter, so any FKs that we did not create during schema generation from script will be generated automatically. Which we don't want.
Do we really even need these properties enabling in the first place just to invoke script commands?
The text was updated successfully, but these errors were encountered:
When we start up a PMF/EMF with create/drop scripts for creating the database schema we currently turn the auto-create/validate flags to true, presumably to allow any scripts to be invoked. See https://github.com/datanucleus/datanucleus-core/blob/master/src/main/java/org/datanucleus/PersistenceNucleusContextImpl.java#L415
This means that those settings are ON thereafter, so any FKs that we did not create during schema generation from script will be generated automatically. Which we don't want.
Do we really even need these properties enabling in the first place just to invoke script commands?
The text was updated successfully, but these errors were encountered: