Hello,

I have a problem with the driver JDBC3,
MyTable(col1(SERIAL), col2(VARCHAR), Col3(VARCHAR))

When i do

rs.moveToInsertRow();
rs.updateString("col2",col2);
rs.updateString("col3",col3);
rs.insertRow();
con.commit();

rs.next();
rs.refreshRow();

The ResulSet is not refreshed for the first column, the value for col1 is 0. Although insertion in the base worked and the serial have the good value !!! And this code works perfectly for MySql :(
If somebody knows when that can come from ?

Thank you,

Mathias Laurent

_________________________________________________________________
Retrouvez tout en un clin d'oeil avec la barre d'outil MSN Search ! http://desktop.msn.fr/


---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

              http://www.postgresql.org/docs/faq

Reply via email to