cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From emeka okafor <emeka_1...@yahoo.com>
Subject Re: convertHexToBytes from H2
Date Sun, 18 Nov 2012 11:34:34 GMT
String -> CLOB is working
String -> BLOB not so much.


________________________________
 From: emeka okafor <emeka_1978@yahoo.com>
To: "user@cayenne.apache.org" <user@cayenne.apache.org> 
Sent: Sunday, November 18, 2012 12:07 PM
Subject: convertHexToBytes from H2
 


 Hello,
I have an entity with an attribute "description" of type BLOB but is represented in java as
a java.lang.String. while trying to save that entity, I get this error:
org.h2.jdbc.jdbcsqlexception hexadecimal string with odd number of characters 

Any Idea?
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message