Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit33815bf

Browse files
author
Barry Lind
committed
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
1 parent0671b65 commit33815bf

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

‎src/interfaces/jdbc/org/postgresql/errors.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ postgresql.updateable.beforestartdelete:Before start of result set. Can not call
9494
postgresql.updateable.afterlastdelete:After end of result set. Can not call deleteRow().
9595
postgresql.updateable.notoninsertrow:Not on insert row.
9696
postgresql.updateable.inputstream:Input Stream is null.
97-
postgresql.updateable.ioerror:Input Stream Error.
97+
postgresql.updateable.ioerror:Input Stream Error - {0}
9898
postgresql.call.noreturntype:A CallableStatement Function was declared but no call to 'registerOutParameter (1, <some_type>)' was made.
9999
postgresql.call.noinout:PostgreSQL only supports function return value [@ 1] (no OUT or INOUT arguments)
100100
postgresql.call.procasfunc:This Statement [{0}] defines a procedure call (needs ?= call <stmt> to be considered a function.

‎src/interfaces/jdbc/org/postgresql/jdbc2/AbstractJdbc2ResultSet.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* Copyright (c) 2003, PostgreSQL Global Development Group
1010
*
1111
* IDENTIFICATION
12-
* $Header: /cvsroot/pgsql/src/interfaces/jdbc/org/postgresql/jdbc2/Attic/AbstractJdbc2ResultSet.java,v 1.23 2003/09/13 04:02:15 barry Exp $
12+
* $Header: /cvsroot/pgsql/src/interfaces/jdbc/org/postgresql/jdbc2/Attic/AbstractJdbc2ResultSet.java,v 1.24 2003/09/17 05:14:52 barry Exp $
1313
*
1414
*-------------------------------------------------------------------------
1515
*/
@@ -778,7 +778,7 @@ public synchronized void updateAsciiStream(int columnIndex,
778778
}
779779
catch (IOExceptionie)
780780
{
781-
thrownewPSQLException("postgresql.updateable.ioerror" +ie);
781+
thrownewPSQLException("postgresql.updateable.ioerror",ie);
782782
}
783783

784784
updateValue(columnIndex,theData);
@@ -811,7 +811,7 @@ public synchronized void updateBinaryStream(int columnIndex,
811811
}
812812
catch (IOExceptionie)
813813
{
814-
thrownewPSQLException("postgresql.updateable.ioerror" +ie);
814+
thrownewPSQLException("postgresql.updateable.ioerror",ie);
815815
}
816816
updateValue(columnIndex,theData);
817817
}
@@ -858,7 +858,7 @@ public synchronized void updateCharacterStream(int columnIndex,
858858
}
859859
catch (IOExceptionie)
860860
{
861-
thrownewPSQLException("postgresql.updateable.ioerror" +ie);
861+
thrownewPSQLException("postgresql.updateable.ioerror",ie);
862862
}
863863
updateValue(columnIndex,theData);
864864
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp