What is the correct SQLDataSource syntax? [message #808203] |
Mon, 27 February 2012 09:34  |
Eclipse User |
|
|
|
And is there a document? I had some code written that worked this way:
ds SQLDataSource? { @Resource { bindingkey = "MYI" } };
But that stopped working, I think between 0.7.0 and 0.8.0. Instead, the only valid keyword for the @Resource annotation now seems to be uri. So I tried different variations of this:
ds SQLDataSource? { @Resource { uri = "binding:MYI" } };
But nothing I did seemed to work. This, however still works:
MYI SQLDataSource? {@Resource {}};
By naming the variable the same name as the actual resource name in the deployment descriptor, I can get data access to work. But I failed at every attempt to manipulate the @Resource annotation. Am I missing something?
Joe
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05098 seconds