[postgis-users] jdbc PreparedStatement, setString
schabi at logix-tt.com
Tue Oct 4 09:24:54 PDT 2005
> suburbQuery.setString(1, "'POINT("+queryPoint.x+"
My Idea, besides removing the comma that strk already mentioned: Drop
the single quotes ' from inside the string (because setstring already
escapes and quotes the string.
Btw, why don't you use the the PostGIS Java classes or JTS?
If they don't fit for your purposes, please tell us, so we might
possibly fix it.
More information about the postgis-users