What's the best way to get the name of the datasource associated with the responder in a Groovy script. Is there a reference to it in the context or do I need to put it there?
I found this method that might be what you are looking for, context.getDefaultDataSourceName()
Thanks works great. Is there some documentation available that shows this type of thing? I have been unable to find something like that. JT
"getDefaultDataSourceName" is not API. It is not part of the ScriptingContext interface which is documented. Instead, it is internal API that just happens to return what you asked.
Thanks. I'll steer clear of that type of thing. JT