tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brianm709 <>
Subject Re: DataSource lookup by JNDI name
Date Wed, 22 Apr 2009 16:31:24 GMT

David Blevins wrote:
>>> In 3.1.1 will I be able to do something like the following to bind  
>>> to a name
>>> of my choice?
>>> InitialContext context = new InitialContext();
>>>   context.bind("jdbc/awddb", new
>>> javax.naming.LinkRef("java:openejb/Resource/jdbc/awddb") );
>>We have to leave the bind crippled per spec in order to pass the TCK,  
>>but we could certainly add a flag that would allow bind to work.   
>>Would that work for you?

We can make it work without it, but it might be useful to have that

Thanks for all you help.

View this message in context:
Sent from the OpenEJB User mailing list archive at

View raw message