<HTML dir=ltr><HEAD>
<META http-equiv=Content-Type content="text/html; charset=unicode">
<META content="MSHTML 6.00.2900.3086" name=GENERATOR></HEAD>
<BODY style="FONT-SIZE: 9pt; MARGIN: 0px; FONT-FAMILY: Verdana" bgColor=#ffffff>
<DIV id=idOWAReplyText42231 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>Shotka,</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>I'm not sure if my comment about the case of your "Geometry" got buried in my email.  But now thinking about it, I think its important to make sure you got that part right. </FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>Make sure that you have</FONT></DIV>
<DIV dir=ltr><STRONG>addDataType("<SPAN class=718440814-14052007>g</SPAN>eometry",org.postgis.PGgeometry<SPAN class=718440814-14052007>.class</SPAN>);</STRONG></DIV><STRONG></STRONG></DIV>
<DIV dir=ltr> </DIV>
<DIV dir=ltr>and not</DIV>
<DIV dir=ltr><STRONG>addDataType("Geometry",org.postgis.PGgeometry<SPAN class=718440814-14052007>.class</SPAN>);</STRONG></DIV>
<DIV dir=ltr><STRONG></STRONG> </DIV>
<DIV dir=ltr>I'm not absolutely sure, but I think the case of the type string has to match the type that is returned by PGObject otherwise it will not know to map it to the PostGIS class and will just keep it unknown.</DIV>
<DIV dir=ltr> </DIV>
<DIV dir=ltr>Also can you try the below out.println and let us know what that returns.</DIV>
<DIV dir=ltr> </DIV>
<DIV dir=ltr><SPAN class=718440814-14052007><FONT size=2>out.println(((PGobject) r.getObject(1)).getType());</FONT></SPAN></DIV>
<DIV dir=ltr><SPAN class=718440814-14052007><FONT size=2></FONT></SPAN> </DIV>
<DIV dir=ltr><SPAN class=718440814-14052007><FONT size=2>Hope that helps,</FONT></SPAN></DIV>
<DIV dir=ltr><SPAN class=718440814-14052007><FONT size=2>Regina</FONT></SPAN></DIV>
<DIV dir=ltr><BR></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV></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>