tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brianm709 <bmmer...@dstsystems.com>
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?
>>-David
> 
> 

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

Thanks for all you help.
Brian

-- 
View this message in context: http://www.nabble.com/DataSource-lookup-by-JNDI-name-tp23101598p23175550.html
Sent from the OpenEJB User mailing list archive at Nabble.com.


Mime
View raw message