Do you have this datasource configured for your application? Is this what you are trying to access or is another source?
Why not create a managed connection?
Then just lookup the javax.sql.Datasource in jndi?
java:/DefaultDS comes pre-configured as the
hypersonic embedded database.
See docs/examples/jca for configs to "drop" into
server/default/deploy once you've made the suitable
Don't forget to add the jdbc driver to server/default/lib
Can you suggest some source to see how you do the look up on JNDI. Thanks for the suggestions.
From the test suite:
and the deployment descriptors
You could just lookup the data source directly,
instead of using a resource-ref
Thanks. It is much more straight forward than I expected.