postgresql-jdbc.git / summary / log / commit / refs
commit dfa3fa2f26bed60b091e03e33d78144fc4bef944
Author: Kris Jurka <books@ejurka.com>
Date: Sun Oct 17 12:19:38 2004 +0000
MessageFormat strings can't use single quotes to enclose a marker
as this results in the marker coming out literally {0}, not with
the replaced marker surrounded by single quotes.
org/postgresql/jdbc2/AbstractJdbc2ResultSet.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/org/postgresql/jdbc2/AbstractJdbc2ResultSet.java b/org/postgresql/jdbc2/AbstractJdbc2ResultSet.java
index d43c96a7..d9e39382 100644
--- a/org/postgresql/jdbc2/AbstractJdbc2ResultSet.java
+++ b/org/postgresql/jdbc2/AbstractJdbc2ResultSet.java
@@ -2262,7 +2262,7 @@ public abstract class AbstractJdbc2ResultSet implements BaseResultSet, org.postg
return index.intValue();
}
- throw new PSQLException (GT.tr("The column name '{0}' was not found in this ResultSet.", columnName));
+ throw new PSQLException (GT.tr("The column name {0} was not found in this ResultSet.", columnName));
}
/*
[parent: 14e2849b484a]