> I was wondering if anyone knows if there is any vendor-inspecific way
> of storing and querying a polygon shape via the JDBC?
There really isn't a vendor-generic way of doing this.
> I currently have an application that stores a simple rectangle across
> 4 decimal columns: top left lat; top left lon; bottom left lat; bottom
[quoted text clipped - 11 lines]
> If anyone could tell me if such a function exists, or can suggest a
> workaround I would be very grateful!
The best solution to those requirements would be an RDBMS that stores (Java) objects in
columns and offers access to object methods in SQL. Working across JDBC is then no
problem. Our ORDBMS (see my sig) does this, but there is no truly portable solution.

Signature
Lee Fesperman, FFE Software, Inc. (http://www.firstsql.com)
==============================================================
* The Ultimate DBMS is here!
* FirstSQL/J Object/Relational DBMS (http://www.firstsql.com)