× Heads up!

Aqua Data Studio / nhilam

Follow
IDE for Relational Databases
×
ivangron reported 2016-04-25T22:44:10Z  · tariqrahiman last modified 2016-05-16T16:23:35Z

ERM -> DB2 i Series -> Script Constraint is missing constraint schema & name


customer request Pending verification in other release
Priority Low
Complexity Unknown
Component Tools - ER Modeler
Version 17.0

  When scripting a constraint in the ERM the constraint schema and name do not get scripted.  class ScriptConstraint.scriptCREATE() method determines if the schema name and constraint name will be scripted by the variable includeTableConstraintsNames.  This variable is passed to the method EConstraint.  Its retrieved from the class ScriptFormat.  In script format a boolean varaible includeTableConstraintNames is declared but not set, so default will be false. This class has a method setIncludeTableConstraintNames() this is only ever called from the CompareView class.  This means the only time the constraint schema and name will ever get scripted is if the compareView class is part of the scripting.   You will notice that in version 13 the constraint names where been scripted and as of version 14 they stopped getting scripted in the ERM.

  Can we find out of this was intentional?  if it was why?  code changes where made for issue #10697

1 attachment

Issue #14407

Closed
Fixed
Resolved 2016-04-26T17:47:55Z
 
 
Completion
No due date
Fixed Build v17.0.4-3, v18.0.0-devi-121
No time estimate

About AquaClusters Privacy Policy Support Version - 19.0.2-4 AquaFold, Inc Copyright © 2007-2017