<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16414" name=GENERATOR></HEAD>
<BODY style="FONT-SIZE: 9pt; MARGIN: 0px; FONT-FAMILY: Verdana" bgColor=#ffffff>
<DIV dir=ltr align=left><SPAN class=688030220-11052007><FONT size=2>It might 
have to do with the version you are using is my guess.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=688030220-11052007><FONT 
size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=688030220-11052007><FONT size=2>Does your 
cast work without buffering?  E.g. if you did</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=688030220-11052007>ResultSet r = 
s.executeQuery("SELECT GeometryFromText('POINT(10000 20000)',-1)");</SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=688030220-11052007><FONT 
size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=688030220-11052007><FONT 
size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=688030220-11052007><FONT size=2>I think 
there was a change between 8.1 and 8.2 so for 8.1 you might have to 
do</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=688030220-11052007><PRE><I>addDataType("geometry", org.postgis.PGgeometry.class )</I></PRE><PRE>As noted in this thread</PRE><PRE><A href="http://postgis.refractions.net/pipermail/postgis-users/2006-January/010948.html">http://postgis.refractions.net/pipermail/postgis-users/2006-January/010948.html</A></PRE><PRE> </PRE><PRE>Hope that hleps,</PRE><PRE>Regina</PRE></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> 
postgis-users-bounces@postgis.refractions.net 
[mailto:postgis-users-bounces@postgis.refractions.net] <B>On Behalf Of </B>backo 
lodovik<BR><B>Sent:</B> Friday, May 11, 2007 1:23 PM<BR><B>To:</B> 
postgis-users@postgis.refractions.net<BR><B>Subject:</B> [postgis-users] 
Buffering with JDBC<BR></FONT><BR></DIV>
<DIV></DIV>
<P>Thank you for your answer!!</P>
<P>I would like to ask you where can I find this vivdsolutions libraries?</P>
<P>Also, I would like to ask if someone knows what is the reason for exception, 
I coppied the code from the PostGIS maual but it does not work although it 
should have!!</P>
<P> </P><BR><BR>
<TABLE cellSpacing=0 cellPadding=0 border=0>
  <TBODY>
  <TR>
    <TD bgColor=#000000><IMG height=1 alt="" src="https://img.web.de/p.gif" 
      width=1 border=0 NOSEND="1"></TD></TR>
  <TR>
    <TD style="FONT-SIZE: 12px; LINE-HEIGHT: 17px; FONT-FAMILY: verdana">Der 
      WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu 
      sparen!   <BR><A 
      href="http://smartsurfer.web.de/?mc=100071&distributionid=000000000066"><B>http://smartsurfer.web.de/?mc=100071&distributionid=000000000066</B></A>  </TD></TR></TBODY></TABLE></BODY></HTML>

<HTML><BODY><P><hr size=1></P>
<P><STRONG>
The substance of this message, including any attachments, may be confidential, legally privileged and/or exempt from disclosure pursuant to Massachusetts law. It is intended solely for the addressee. If you received this in error, please contact the sender and delete the material from any computer.
</STRONG></P></BODY></HTML>