db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wynne Crisman" <wcris...@declarativeengineering.com>
Subject Problems assigning null to VARCHAR FOR BIT DATA types
Date Sun, 09 Apr 2006 23:25:17 GMT
Is it possible to assign a null value to a VARCHAR FOR BIT DATA column?  I
am getting the following exception from the derby driver:

SQL Exception: An attempt was made to get a data value of type 'VARCHAR ()
FOR BIT DATA' from a data value of type 'BLOB'.
	at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Unknown
Source)
	at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Unknown
Source)
	at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Unknown
Source)
	at
org.apache.derby.impl.jdbc.EmbedConnection.newSQLException(Unknown Source)
	at
org.apache.derby.impl.jdbc.ConnectionChild.newSQLException(Unknown Source)
	at
org.apache.derby.impl.jdbc.EmbedPreparedStatement.dataTypeConversion(Unknown
Source)
	at org.apache.derby.impl.jdbc.EmbedPreparedStatement.setNull(Unknown
Source)

Anyone know if this is a bug or feature?  I am using the 10.1.2.1 version of
derby.

Thank you,
Wynne


Mime
View raw message