-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Micka,

On 5/8/2011 2:44 PM, Micka wrote:
> System.out.println("test 1");
> *Connection dconn = ((DelegatingConnection) conn).getInnermostDelegate();*
> *<== HERE*
> System.out.println("test 2");
>  
> ((org.postgresql.PGConnection)dconn).addDataType("geometry",org.postgis.PGgeometry.class);

FWIW, you can set up your data type map by using the java.sql.Connection
API... there's no need to cast it to a Postgres-specific class. Look at
the Connection.setTypeMap javdocs.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk3Kr7sACgkQ9CaO5/Lv0PDWCgCgwi5wC16R6/encxmPOnLJDpxy
u3kAn0Vtq3t44fLCi83HGYy42zJcQ0mU
=/gJd
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to