× Heads up!

Aqua Data Studio / nhilam

Follow
IDE for Relational Databases
×
ivangron reported Apr 25, 2016  · tariqrahiman last modified May 16, 2016

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
ivangron   Apr 26, 2016  Change History
Field Old Value New Value
Dev Assignee JennyNishimura (Jenny Nishimura) ivangron (Ivan Gron)
ivangron   Apr 26, 2016  Change History
Field Old Value New Value
Status New In Progress
ivangron   Apr 26, 2016  Change History
Field Old Value New Value
Fixed Build v17.0.4-3, v18.0.0-devi-121
Resolution Fixed
Resolved Date Apr 26, 2016 5:47 PM
Status In Progress Resolved
tariqrahiman   Apr 28, 2016  Change History
Field Old Value New Value
Status Resolved Verified
tariqrahiman   May 16, 2016  Change History
Field Old Value New Value
Status Verified Closed

Issue #14407

Closed
Fixed
Resolved Apr 26, 2016
 
 
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