Community
Participate
Working Groups
Build Identifier: 20111106 Refered to Scenario B in Tim's document EDT Extension_SQLAccess_v031.doc, I tried to get data as a Dictionary from DB. But there is a compiling error in EDT. Reproducible: Always Steps to Reproduce: 1.Create a Derby connection in EDT to link the DB EGLDerbyR7. 2.Create a basic program. 3.Wirte the following code in the basic program. program testDic type BasicProgram {} ds SQLDataSource = new SQLDataSource("jdbc:derby:C:/databases/EGLDerbyR7;create=true"); customerDic Dictionary {@table{name = "EGL.CUSTOMER"}}; function main() get customerDic from ds using(customerDic.CUSTOMER_ID) with #sql{ select * from EGL.CUSTOMER where CUSTOMER_ID = ? }; syslib.writeStdout("Done!"); end end Actual results: There is one compiling error in the line of get customerDic ... Please refer to screenshot and Tim's doc.
Created attachment 206509 [details] compiling error
Created attachment 206510 [details] Tim's Doc
Not all of the spec is supported in 0.7. Dictionaries, for example, are not supported. Association Expressions are also not supported. This is work to be done for 1.0.
Hi, Justin. Where could I get a summary for what 0.7 supports and what 0.7 not supports? It seems I could not based on the Tim's doc totally.
I don't think there's a list anywhere. Usually what happens is a defect gets opened on generation, Joe says "that's not supported in 0.7" and (temporary) validation gets added to prevent generation from throwing an error. Dictionary and association expressions are the main ones. Go ahead and open bugs if you're not sure, and we'll close them if it's intentional for 0.7.
This is not supported in 0.7, close it now.