Exception is the following: org.h2.jdbc.JdbcSQLException: Invalid value "1" for parameter "length" [90008-190]
at org.h2.message.DbException.getJdbcSQLException(DbException.java:345) at org.h2.message.DbException.get(DbException.java:179) at org.h2.message.DbException.getInvalidValueException(DbException.java:228) at org.h2.jdbc.JdbcBlob.setBinaryStream(JdbcBlob.java:183) On Tuesday, December 29, 2015 at 9:59:21 PM UTC+3, Noel Grandin wrote: > > what exactly is the exception and stack trace that gets thrown? > > On 28 December 2015 at 21:21, Alexandra Cohen <[email protected] > <javascript:>> wrote: > > I'm trying to create blob via Hibernate 4.3.5 API. H2 1.4.190 in-memory. > > Originally code was written for Oracle DB and now we are trying to use > H2 > > for unit testing. > > > > Blob blob = Hibernate.getLobCreator(hibernateSession).createBlob(new > -- 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.
