db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1135383 - in /db/derby/code/trunk/java: client/org/apache/derby/client/am/Lob.java engine/org/apache/derby/loc/messages.xml
Date Tue, 14 Jun 2011 05:34:27 GMT
Author: mamta
Date: Tue Jun 14 05:34:27 2011
New Revision: 1135383

URL: http://svn.apache.org/viewvc?rev=1135383&view=rev
Log:
DERBY-3913 mismatch between error XCL30 and 22003.S.4 and parameters in usage

22003.S.4 had incorrect number of parameters in messages.xml, this commit fixes that.

XCL30 was not getting used correctly in Lob.java, this commit fixes that.



Modified:
    db/derby/code/trunk/java/client/org/apache/derby/client/am/Lob.java
    db/derby/code/trunk/java/engine/org/apache/derby/loc/messages.xml

Modified: db/derby/code/trunk/java/client/org/apache/derby/client/am/Lob.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/client/org/apache/derby/client/am/Lob.java?rev=1135383&r1=1135382&r2=1135383&view=diff
==============================================================================
--- db/derby/code/trunk/java/client/org/apache/derby/client/am/Lob.java (original)
+++ db/derby/code/trunk/java/client/org/apache/derby/client/am/Lob.java Tue Jun 14 05:34:27
2011
@@ -259,8 +259,8 @@ public abstract class Lob implements Uni
             throw new SqlException(null,
                         new ClientMessageId(
                             SQLState.LANG_STREAMING_COLUMN_I_O_EXCEPTION),
-                        typeDesc,
-                        ioe
+                            ioe,
+                            typeDesc
                     );
         }
     }

Modified: db/derby/code/trunk/java/engine/org/apache/derby/loc/messages.xml
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/engine/org/apache/derby/loc/messages.xml?rev=1135383&r1=1135382&r2=1135383&view=diff
==============================================================================
--- db/derby/code/trunk/java/engine/org/apache/derby/loc/messages.xml (original)
+++ db/derby/code/trunk/java/engine/org/apache/derby/loc/messages.xml Tue Jun 14 05:34:27
2011
@@ -607,7 +607,7 @@ Guide.
 
             <msg>
                 <name>22003.S.4</name>
-                <text>The length ({0}) exceeds the maximum length for the data type
({1}).</text>
+                <text>The length ({0}) exceeds the maximum length ({1}) for the data
type.</text>
                 <arg>number</arg>
                 <arg>datatypeName</arg>
             </msg>



Mime
View raw message