Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 362671 - SQL - Get from DS with prepared statement fails
Summary: SQL - Get from DS with prepared statement fails
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-02 09:36 EDT by Paul Hoffman CLA
Modified: 2017-02-23 14:14 EST (History)
1 user (show)

See Also:


Attachments
Test case. (2.09 KB, application/octet-stream)
2011-11-02 09:36 EDT, Paul Hoffman CLA
no flags Details
library for loading database for test program (5.47 KB, application/octet-stream)
2011-11-02 09:37 EDT, Paul Hoffman CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Hoffman CLA 2011-11-02 09:36:38 EDT
Created attachment 206326 [details]
Test case.

SQL - Get from DS with prepared statement fails.

Same statement code with #sql works.

Test case attached.   Download test case and loading library.   Both have changes.

Test report:

Get row with inline statement works
Get row with same statement prepared fails
Failure:  Exception = At least one parameter to the current statement is uninitialized.: [sqlstate:07000][sqlcode:30,000]
Get into with prepared statement also fails
Failure:  Exception = At least one parameter to the current statement is uninitialized.: [sqlstate:07000][sqlcode:30,000]
Comment 1 Paul Hoffman CLA 2011-11-02 09:37:14 EDT
Created attachment 206327 [details]
library for loading database for test program
Comment 2 Joseph Vincens CLA 2011-11-04 15:14:18 EDT
fixed
Comment 3 Paul Hoffman CLA 2011-11-08 16:01:55 EST
Verified and closed