users@glassfish.java.net

Re: Database connection in GlassFish server

From: <glassfish_at_javadesktop.org>
Date: Thu, 02 Apr 2009 04:43:57 PDT

Could you try just a

DataSource ds = (javax.sql.DataSource) i.lookup("jdbc/myapp");

HTH
Shalini.
[Message sent by forum member 'sm157516' (sm157516)]

http://forums.java.net/jive/thread.jspa?messageID=340252