How to read PG Circle and Point types from JDBC?

Поиск
Список
Период
Сортировка
Искать

How to read PG Circle and Point types from JDBC?

От:
Bryan Field-Elliot <bryan_lists@netmeme.org>
Дата:
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?

От:
Rene Pijlman <rpijlman@wanadoo.nl>
Дата:
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?

От:
Bryan Field-Elliot <bryan_lists@netmeme.org>
Дата:
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



FAQ