users@glassfish.java.net

Re: Always using DerbyPool

From: <forums_at_java.net>
Date: Mon, 21 Oct 2013 12:22:37 -0500 (CDT)

Doh! That is funny -- because I too had trouble with
@Resource(name="jdbc/myDs") vs @Resource(lookup="jdbc/myDs") and the change
to 'lookup' is when I introduced the typo!! I ran into this issue when I
first started running our code in GF4.0x. After a bit of struggling with
this; I surmised that maybe 'name' was "wrong" all along and that the "name"
syntax worked if you had a DD that was mapping the name to a JNDI lookup
string. And this just happened to work out on GF versions less than 4.

--
[Message sent by forum member 'fwelland']
View Post: http://forums.java.net/node/897298