| Summary: | CNTL-1 has "no suggestions available" for SQL open rs from ds for row. | ||||||
|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Paul Hoffman <hoffmanp> | ||||
| Component: | EDT | Assignee: | Zhi Zhu <zhuzhi> | ||||
| Status: | CLOSED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | chenzhh, jvincens | ||||
| Version: | unspecified | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Paul Hoffman
Created attachment 205845 [details]
library for loading database for test program
Paul, do not see any get or open statement in your attachment.
Do you mean:
myCustomer Customer;
connUrl string = “jdbc:derby:SomeDB;create=true;”;
ds SQLDataSource = new SQLDataSource(connUrl);
get myCustomer from ds;
should generate sql like this:
get myCustomer from ds using(myCustomer.id) with #sql{
SELECT *
FROM CUSTOMER
WHERE id = ?
};
This works based on your comment
For open statement:
rs SQLResultSet;
open rs from ds;
Should we get sql like this:
open rs from ds with #sql{
SELECT *
FROM CUSTOMER
};
if you want default sql for statement: open rs from ds;
Here is the question, where do I get table schema?
Paul, are you referring to this open statement: open rs from ds for row ; Where I can get table message from 'row'? please refer to bug 362139 EGLSQLClauseFactory.java SQLIOStatementUtility.java AbstractSQLStatementProposal.java SQLAssistantSubProcessor.java Verified and closed |