iSeries Server
ADS build 7.9.41
Schema - NIELSG
Click on User Defined Distinct Datatype.
Right Click and Create datatype
Enter values - ADS generates an error dialog
See pic
|
|
15 KB
|
|
25 KB
Niels, I have no idea.
Here is the script it tries to execute:
CREATE DISTINCT TYPE "andy" AS VARCHAR(25)
WITH COMPARISONS
This bug is not isolated to db2 iseries. looks like the UDDT dialog is not designed to handle qualifing the object name
This bug is not isolated to db2 iseries. looks like the UDDT dialog is not designed to handle qualifing the object name
this names are created not using schema + "." + name
MSTriggersNode
CREATE TRIGGER [ schema_name . ]trigger_name ON { table | view }
MSUDDTNode
CREATE TYPE [ schema_name. ] type_name { FROM base_type
MSExtStoredProcedureNode
-- not sure what an ext procedure is, do they have a schema?
MSRuleNode
CREATE RULE [ schema_name . ] rule_name AS condition_expression
MSDefaultNode
CREATE DEFAULT [ schema_name . ] default_name AS constant_expression [ ; ]
MSAssemblyNode
-- not sure what these are but they don't look to have a schema
MSSymmetricKeyNode
-- not sure what these are but they don't look to have a schema
MSCertificateNode
-- not sure what these are but they don't look to have a schema
MSAsymmetricKeyNode
-- not sure what these are but they don't look to have a schema
MSRoleNode
--roles don't seem to have schemas
MSUserNode
--have a default schema but no actual schema definition to its name
this names are created not using schema + "." + name
MSTriggersNode
CREATE TRIGGER [ schema_name . ]trigger_name ON { table | view }
MSUDDTNode
CREATE TYPE [ schema_name. ] type_name { FROM base_type
MSExtStoredProcedureNode
-- not sure what an ext procedure is, do they have a schema?
MSRuleNode
CREATE RULE [ schema_name . ] rule_name AS condition_expression
MSDefaultNode
CREATE DEFAULT [ schema_name . ] default_name AS constant_expression [ ; ]
MSAssemblyNode
-- not sure what these are but they don't look to have a schema
MSSymmetricKeyNode
-- not sure what these are but they don't look to have a schema
MSCertificateNode
-- not sure what these are but they don't look to have a schema
MSAsymmetricKeyNode
-- not sure what these are but they don't look to have a schema
MSRoleNode
--roles don't seem to have schemas
MSUserNode
--have a default schema but no actual schema definition to its name
Andy, can you add an optional Schema Combo Box for this? We will need to be able to select and choose a Schema for certain databases, not for others. MS SQL Server 2000 and below, Sybase ASE, Sybase IQ and Sybase Anywhere will not have the combo box.
Andy, can you add an optional Schema Combo Box for this? We will need to be able to select and choose a Schema for certain databases, not for others. MS SQL Server 2000 and below, Sybase ASE, Sybase IQ and Sybase Anywhere will not have the combo box.
added schema combo box to DataTypeDialog - seems to work in DB2iSeries, as well as SQL Server 2008. Please test elsewhere.
Notice DataTypeDialo.supportsSchema() method, whichshould be in that DatabaseType class...
added schema combo box to DataTypeDialog - seems to work in DB2iSeries, as well as SQL Server 2008. Please test elsewhere.
Notice DataTypeDialo.supportsSchema() method, whichshould be in that DatabaseType class...
-- Data type bound to schema
Derby: Yes
DB2 LUW: Yes
DB2 iSeries: Yes
DB2 z/OS: Yes
Informix: Yes
Oracle: Yes
MySQL: No
MS SQL Server 7/2k: No
MS SQL Server 25k/28k: Yes
Sybase ASE: No
Sybase Any: No
Sybase IQ: No
PostgreSQL: Yes
Teradata: No
nCluster: Yes
-- Data type bound to schema
Derby: Yes
DB2 LUW: Yes
DB2 iSeries: Yes
DB2 z/OS: Yes
Informix: Yes
Oracle: Yes
MySQL: No
MS SQL Server 7/2k: No
MS SQL Server 25k/28k: Yes
Sybase ASE: No
Sybase Any: No
Sybase IQ: No
PostgreSQL: Yes
Teradata: No
nCluster: Yes
AFDataType.java, ScriptDataType.java ... DataTypeDialog.java
AFDataType.java, ScriptDataType.java ... DataTypeDialog.java
working for the most part, following areas have issues, fix in 8.0???
//informix: lets you add a distinct type from collection type node, thus not refreshing distinct type node after type added...
//ORACLE: Object Types node doesn't allow you to right click and visual edit...
//ORACLE: Array Types sorta works... the basics work but the visual editor seems to have issues...
//ORACLE: Table Types node, seems to be a copy of Array Type node visual editor...
// Postgres doesn't have a visual editor for data types
// Sybase Anywhere has no UDDT node
// Sybase IQ has no UDDT node
// nCluster has no UDDT node
working for the most part, following areas have issues, fix in 8.0???
//informix: lets you add a distinct type from collection type node, thus not refreshing distinct type node after type added...
//ORACLE: Object Types node doesn't allow you to right click and visual edit...
//ORACLE: Array Types sorta works... the basics work but the visual editor seems to have issues...
//ORACLE: Table Types node, seems to be a copy of Array Type node visual editor...
// Postgres doesn't have a visual editor for data types
// Sybase Anywhere has no UDDT node
// Sybase IQ has no UDDT node
// nCluster has no UDDT node
Issue #2863 |
| Closed |
| Fixed |
| Resolved |
Completion |
| No due date |
| No fixed build |
| No time estimate |
Niels, I have no idea.
Here is the script it tries to execute:
CREATE DISTINCT TYPE "andy" AS VARCHAR(25)
WITH COMPARISONS