db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Myrna van Lunteren <m.v.lunte...@gmail.com>
Subject XX-Resolve-XX...left over comment?
Date Mon, 13 Feb 2006 01:10:12 GMT
Hi,

I have another question - I caused the following error 22001 to come up:
ERROR 22001:  A truncation error was encountered trying to shrink CHAR ()
FOR BIT DATA 'XX-RESOLVE-XX' to length 40.
I'm addressing the situation causing the error, however, I have a concern
with this message.

This way, the message seems to suggest that there is a column
name XX-RESOLVE-XX in the table, which is not so.

It looks as if this string is left over from some programming effort...
It appears this is coming from the SQLBinary.java.
 Other references for this string are in the masters for
updatableResultSet.out, and in the test lang/concateTests.java (referring to
DERBY-124).

Should I log a bug for this message to be changed to remove the
XX-RESOLVE-XX? Or is there a bug open somewhere connected to this - maybe
work in progress with byte code generation?

Thx,
Myrna


stack trace:
 at org.apache.derby.iapi.error.StandardException.newException(
StandardException.java:362)
 at org.apache.derby.iapi.types.SQLBinary.checkHostVariable(SQLBinary.java
:977)
 at org.apache.derby.exe.ac05550069x0109x5d95xbdfcxffff9c80fb80163.e0(Unknown
Source)
 at org.apache.derby.impl.services.reflect.DirectCall.invoke(
ReflectGeneratedClass.java:138)
 at org.apache.derby.impl.sql.execute.RowResultSet.getNextRowCore(
RowResultSet.java:155)
 at org.apache.derby.impl.sql.execute.NormalizeResultSet.getNextRowCore(
NormalizeResultSet.java:204)
 at org.apache.derby.impl.sql.execute.DMLWriteResultSet.getNextRowCore(
DMLWriteResultSet.java:123)
 at org.apache.derby.impl.sql.execute.InsertResultSet.open(
InsertResultSet.java:521)
 at org.apache.derby.impl.sql.GenericPreparedStatement.execute(
GenericPreparedStatement.java:359)
 at org.apache.derby.impl.jdbc.EmbedStatement.executeStatement(
EmbedStatement.java:1142)
 at org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeStatement(
EmbedPreparedStatement.java:1421)
 at org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeUpdate(
EmbedPreparedStatement.java:263)

Mime
View raw message