| Summary: | Java compile errors in generated SQL program | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Paul Hoffman <hoffmanp> | ||||||
| Component: | EDT | Assignee: | Project Inbox <edt.javagen-inbox> | ||||||
| Status: | CLOSED FIXED | QA Contact: | |||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | jvincens | ||||||
| Version: | unspecified | ||||||||
| Target Milestone: | --- | ||||||||
| Hardware: | PC | ||||||||
| OS: | Windows XP | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
Created attachment 204668 [details]
Supporting library for loading db / table
fixed
I tried to run this but the egl is not correct, if you use a result set you must have a rs.setNext() before you get the value.
I changed to
open rs from ds with #sql {
select id, aChar, aString, aFloat, aInt, aSmallInt, aBigInt
from MINITBL
where id > ?
order by id asc
}
using row.id forUpdate;
if(rs.setNext())//added**************
get row from rs ;
still didn't work, the sql error is the result set was not opened for update.
see previous comment Issues described in defect are fixed and verified. |
Created attachment 204667 [details] Test case for defect Compile errors in generated Java program related to: result set variable, not nullable. delete from result set rs.setRelative rs.setAbsolute see attached test case program.