| 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 16:16:27 |
| Message-ID: | 5.0.2.1.0.20010511181620.00a578c0@mail.mangoosta.net |
| Views: | Whole Thread | Raw Message | 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 | Bhuvaneswari | 2001-05-12 08:26:05 | Error Retrieving Date Fields from tables |
| Previous Message | Hunter Hillegas | 2001-05-11 15:20:16 | FW: [JBoss-user] Postgres woes: solution |