cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tony Giaccone <>
Subject Conversion error:
Date Mon, 11 Jul 2016 22:56:41 GMT
I'm using the H2 database and have a field that's a timestamp,

I get this message on trying to read the field with Cayenne:

org.h2.jdbc.JdbcSQLException: Hexadecimal string with odd number of
characters: "2016-07-11 18:21:16.0" [90003-192]

stack trace looks like:

    at org.h2.message.DbException.getJdbcSQLException(
    at org.h2.message.DbException.get(
    at org.h2.message.DbException.get(
    at org.h2.util.StringUtils.convertHexToBytes(
    at org.h2.value.Value.convertTo(
    at org.h2.value.Value.getBytes(
    at org.h2.jdbc.JdbcResultSet.getBytes(

And it’s true the string is odd in length.

Seems odd…any thoughts?

Tony Giaccone

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message