From: | Olivier Denier <olivier(dot)denier(at)mangoosta(dot)fr> |
---|---|
To: | pgsql-jdbc(at)postgresql(dot)org |
Subject: | moveToInsertRow() : Method Not Implemented |
Date: | 2001-05-11 13:35:59 |
Message-ID: | 5.0.2.1.0.20010511152538.00a4b690@pop.free.fr |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-jdbc |
Hi,
In my current development project, i would like to use the
"moveToInsertRow()" method (JDBC 2.0).
But i have with the code below an Exception : "'Method Not Implemented' error"
Statement vInsert = pConnection.createStatement();
if (vInsert != null) {
ResultSet vRS = vInsert.executeQuery("SELECT * FROM personne");
if (vRS != null) {
vRS.moveToInsertRow();
vRS.updateString("nom", "titi");
vRS.updateString("prenom", "grominet");
vRS.insertRow();
vRS.close();
} // if (vRS != null)
vInsert.close();
} // if (vInsert != null)
I use PostgreSQL 7.0.3.
My driver is jdbc7.0-1.2.jar.
I think this problem is resolved in the driver for PostgreSQL 7.1 ?
Where can i download it ?
Thanx
Olivier Denier
From | Date | Subject | |
---|---|---|---|
Next Message | Hunter Hillegas | 2001-05-11 15:20:16 | FW: [JBoss-user] Postgres woes: solution |
Previous Message | Ho, Khanh | 2001-05-11 03:26:57 | Problem using PreparedStatement.get/setBinaryStream() |