postgresql-jdbc.git / summary / log / commit / refs

commit    796aba7101aca0ccd734d8ec6bbcf6a9ceefc5c1
Author:   Barry Lind <barry@xythos.com>
Date:     Wed Sep 17 05:14:52 2003 +0000

    Applied patch from Fernando Nasser of RedHat to fix some error messages
    that would not get correctly looked up in the translation files for jdbc
    
     Modified Files:
     	jdbc/org/postgresql/errors.properties
     	jdbc/org/postgresql/jdbc2/AbstractJdbc2ResultSet.java


org/postgresql/errors.properties | 2 +- org/postgresql/jdbc2/AbstractJdbc2ResultSet.java | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/org/postgresql/errors.properties b/org/postgresql/errors.properties index 9b8edc3a..468ef71a 100644 --- a/org/postgresql/errors.properties +++ b/org/postgresql/errors.properties @@ -94,7 +94,7 @@ postgresql.updateable.beforestartdelete:Before start of result set. Can not call postgresql.updateable.afterlastdelete:After end of result set. Can not call deleteRow(). postgresql.updateable.notoninsertrow:Not on insert row. postgresql.updateable.inputstream:Input Stream is null. -postgresql.updateable.ioerror:Input Stream Error. +postgresql.updateable.ioerror:Input Stream Error - {0} postgresql.call.noreturntype:A CallableStatement Function was declared but no call to 'registerOutParameter (1, <some_type>)' was made. postgresql.call.noinout:PostgreSQL only supports function return value [@ 1] (no OUT or INOUT arguments) postgresql.call.procasfunc:This Statement [{0}] defines a procedure call (needs ?= call <stmt> to be considered a function. diff --git a/org/postgresql/jdbc2/AbstractJdbc2ResultSet.java b/org/postgresql/jdbc2/AbstractJdbc2ResultSet.java index cacfda46..f8c609fd 100644 --- a/org/postgresql/jdbc2/AbstractJdbc2ResultSet.java +++ b/org/postgresql/jdbc2/AbstractJdbc2ResultSet.java @@ -778,7 +778,7 @@ public abstract class AbstractJdbc2ResultSet extends org.postgresql.jdbc1.Abstra } catch (IOException ie) { - throw new PSQLException("postgresql.updateable.ioerror" + ie); + throw new PSQLException("postgresql.updateable.ioerror", ie); } updateValue(columnIndex, theData); @@ -811,7 +811,7 @@ public abstract class AbstractJdbc2ResultSet extends org.postgresql.jdbc1.Abstra } catch (IOException ie) { - throw new PSQLException("postgresql.updateable.ioerror" + ie); + throw new PSQLException("postgresql.updateable.ioerror", ie); } updateValue(columnIndex, theData); } @@ -858,7 +858,7 @@ public abstract class AbstractJdbc2ResultSet extends org.postgresql.jdbc1.Abstra } catch (IOException ie) { - throw new PSQLException("postgresql.updateable.ioerror" + ie); + throw new PSQLException("postgresql.updateable.ioerror", ie); } updateValue(columnIndex, theData); } [parent: eae19e011796]