Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

Re: Testing JDBC Prepared Statements



Kris Jurka schrieb:
On Wed, 14 May 2008, Daniel Migowski wrote:
Is it possible with the PostgreSQL JDBC driver (leaving the JDBC API space is allowed) to serverside prepare a statement without executing it?
PreparedStatement.getParameterMetaData will prepare a statement without executing it.
Thank you. I also already helped me with something like statement.executeQuery("PREPARY test AS "+myQueryToTest), but your variant does apropriate query parsing, which seem better.

With best regards,
Daniel Migowski


--
 |¯¯|¯¯|    IKOffice GmbH             Daniel Migowski
 |  |  |/|                            Mail: dmigowski(at)ikoffice(dot)de
 |  | // |  Nordstr. 10               Tel.: 0441 21 98 89 52
 |  | \\ |  26135 Oldenburg           Fax.: 0441 21 98 89 55
 |__|__|\|  http://www.ikoffice.de    Mob.: 0176 22 31 20 76


Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group