Hi all,
I'd like to retrieve the javax.sql.DataSource bound to a CMP entity bean,
from within an implementation method of that bean. In Jonas 1.6.1 this
could easily be done with
String sDataSourceName = env.getProperty("datasource.name");
DataSource ds =
(DataSource)initialContext.lookup(sDataSourceName);
In Jonas 2.0 I cannot see an easy way to do this - does anyone know of a
way? Apologies if this is a dumb question!
Joe
=====================================================================
Joe Gittings, Royal Botanic Gardens, Kew
Hanover House, Kew, Richmond, Surrey TW9 3AB
[EMAIL PROTECTED]
+44 20 8332 5712
fax: +44 20 8332 5736
----
To unsubscribe, send email to [EMAIL PROTECTED] and
include in the body of the message "unsubscribe jonas-users".
For general help, send email to [EMAIL PROTECTED] and
include in the body of the message "help".