Thread: How to read PG Circle and Point types from JDBC?

How to read PG Circle and Point types from JDBC?

From
Bryan Field-Elliot
Date:
Would someone please (briefly) describe how I can read the Circle, or
Point data types from PostgreSQL via JDBC?

Thank you,

Bryan



Re: How to read PG Circle and Point types from JDBC?

From
Rene Pijlman
Date:
On Fri, 10 Aug 2001 20:45:02 -0600, you wrote:
>Would someone please (briefly) describe how I can read the Circle, or
>Point data types from PostgreSQL via JDBC?

See section 8.6.2 "Geometric data types"
http://www.postgresql.org/users-lounge/docs/7.1/programmer/jdbc-ext.html

The documentation is minimal, but it suggests you must call
ResultSet.getObject() and use the classes described in section
8.6.2 to represent these types.

Regards,
René Pijlman

Re: How to read PG Circle and Point types from JDBC?

From
Bryan Field-Elliot
Date:
Thank you,

That chapter was buried sufficiently deeply for me to have not noticed it.

Regards,
Bryan


Rene Pijlman wrote:
On Fri, 10 Aug 2001 20:45:02 -0600, you wrote:
Would someone please (briefly) describe how I can read the Circle, or 
Point data types from PostgreSQL via JDBC?

See section 8.6.2 "Geometric data types"
http://www.postgresql.org/users-lounge/docs/7.1/programmer/jdbc-ext.html

The documentation is minimal, but it suggests you must call
ResultSet.getObject() and use the classes described in section
8.6.2 to represent these types.

Regards,
René Pijlman