Community
Participate
Working Groups
Created attachment 204683 [details] Test program EGL compiler tags get with into clause line with following error messages: Description Resource Path Location Type IWN.JavaGen.9998.e 18/445 Exception occurred: java.lang.NullPointerException NoDefaultSQLForGetWithInto.egl /test.edt.sql.test/EGLSource/sql/test/defects line 18 EDT Generation Problem IWN.JavaGen.9999.e 18/445 Stack Trace: java.lang.NullPointerException NoDefaultSQLForGetWithInto.egl /test.edt.sql.test/EGLSource/sql/test/defects line 18 EDT Generation Problem Use attached test case to recreate.
Created attachment 204684 [details] Library to load database for test case
NPE comes from JavaGen not IDE Core.
on page 38 the OPEN action has the following: Note that for now the specification of INTO clause along with syntax or properties to handle various result set properties like being updateable is not defined yet in this spec. If I comment the INTO the error goes away so this is a validation issue.
This validation should be added when Bug 356407 is fixed
Validation now prevents INTO clauses with OPEN, GET, and FOREACH statements.
Externals have changed with EDT. Instead of coding: get with #sql{ select .... } into a, b, c code: get a, b, c with #sql { select .... } ;
verified, fixed