Hi,
i`m trying to setup sequoia on MSSqlserver2000,when i execute a
sql which is include a field type is ntext(lenght:16),the sql like
this: select description from company , then sequoia throws exception:
org.continuent.sequoia.common.exceptions.NotImplementedException:
Backend driver gave an object of an unsupported java
type:net.sourceforge.jtds.jdbc.ClobImpl, at colum number 0 of name
description not implemented
Clob serialization is not supported so far. If you look into
org.continuent.sequoia.common.protocol.SQLDataSerialization line 249:
// CLOB: TODO
if (obj instanceof Clob || TypeTag.CLOB.equals(tag))
throw new NotImplementedException(
"Clob serialization not yet implemented");
what is the reason,and how can i solve this problem without modify
current code.
If the JTDS type for Clob is serializable, you can try to replace the
'throw new NotImplementedException(...' with 'return
JAVA_SERIALIZABLE;'. You can also try 'return JAVA_STRING;'.
Another option is to change your column type to Blob or regular text.
Keep us posted with your progress,
Emmanuel
--
Emmanuel Cecchet
Chief Scientific Officer, Continuent
Blog: http://emanux.blogspot.com/
Open source: http://www.continuent.org
Corporate: http://www.continuent.com
Skype: emmanuel_cecchet
Cell: +33 687 342 685
_______________________________________________
Sequoia mailing list
[EMAIL PROTECTED]
https://forge.continuent.org/mailman/listinfo/sequoia