users@glassfish.java.net

Re: Problem while using JNDI-Datasource in Glassfish

From: <glassfish_at_javadesktop.org>
Date: Wed, 07 May 2008 22:50:33 PDT

you can change
import com.mysql.jdbc.Connection
to
import java.sql.Connection

You need not use vendor specific implementation explicitly as long as you are using generic connection (java.sql.Connection) methods.

Thanks,
-Jagadish
[Message sent by forum member 'jr158900' (jr158900)]

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