Hi, 

h2 version 1.4.196

A call to ResultSet.getBytes(...) gives an error. I don't think this should 
be failing.

code fragment

            while (rs.next()) {

                for (int i = 1; i <= columnCount; i++) {

                    byte[] data = rs.getBytes(i);

                    ...

Stack track

Exception in thread "main" org.h2.jdbc.JdbcSQLException: Hexadecimal string 
with odd number of characters: "07732" [90003-196]

at org.h2.message.DbException.getJdbcSQLException(DbException.java:345)

at org.h2.message.DbException.get(DbException.java:179)

at org.h2.message.DbException.get(DbException.java:155)

at org.h2.util.StringUtils.convertHexToBytes(StringUtils.java:930)

at org.h2.value.Value.convertTo(Value.java:954)

at org.h2.value.Value.getBytes(Value.java:431)

at org.h2.jdbc.JdbcResultSet.getBytes(JdbcResultSet.java:1074)

...

-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/h2-database.
For more options, visit https://groups.google.com/d/optout.

Reply via email to