Community
Participate
Working Groups
Build Identifier: 201110170901 Define SQLResultSet or SQLStatement in an egl program, there will fire error: Description Resource Path Location Type IWN.VAL.3433.e 16/10 The type SQLStatement is not instantiable. The reference to this type must be defined as nullable. sqlvalidation.egl /demo/EGLSource/client line 16 EDT Problem IWN.VAL.3433.e 17/6 The type SQLResultSet is not instantiable. The reference to this type must be defined as nullable. sqlvalidation.egl /demo/EGLSource/client line 17 EDT Problem Reproducible: Always
This is the correct behavior. You will need to define the fields for these types as nullable. For example: myResultSet SQLResultSet?; myStatement SQLStatement?; These objects are created as a result of executing (certain) SQL statements. Until the statements are executed, the fields will contain null. Therefore, they must be defined as nullable.
Verified