users@glassfish.java.net

Re: Exception: com.sun.gjc.spi.jdbc40.DataSource40 cannot be cast to oracle.jdb

From: <glassfish_at_javadesktop.org>
Date: Mon, 16 Mar 2009 08:16:47 PDT

You should cast it to "DataSource" and get connections(). Connections are pooled by GlassFish.
[Message sent by forum member 'jr158900' (jr158900)]

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