Hi, I have some code that used to work with previous H2 versions, it
saves a blob using a prepared statement, but when using v1.2.128 this
exception gets raised:
Caused by: org.h2.jdbc.JdbcSQLException: Error General :
"java.lang.RuntimeException: java.lang.ClassNotFoundException:
org.h2.store.fs.FileSystemZip"
General error: "java.lang.RuntimeException:
java.lang.ClassNotFoundException: org.h2.store.fs.FileSystemZip"
[50000-128]
at org.h2.message.Message.getSQLException(Message.java:110)
at org.h2.message.Message.convert(Message.java:287)
at org.h2.message.TraceObject.logAndConvert(TraceObject.java:418)
at
org.h2.jdbc.JdbcPreparedStatement.setBinaryStream(JdbcPreparedStatement.java:867)
at
org.h2.jdbc.JdbcPreparedStatement.setBinaryStream(JdbcPreparedStatement.java:882)
at
org.apache.tomcat.dbcp.dbcp.DelegatingPreparedStatement.setBinaryStream(DelegatingPreparedStatement.java:154)
at dinamica.Db.saveBlob(Db.java:530)
I am starting the server using these parameters:
@java -cp h2*.jar -Dh2.baseDir="C:/h2db/data"
-Dh2.cacheSizeDefault=65536 -Xms64M -Xmx256M org.h2.tools.Server -tcp
-tcpShutdownForce -tcpAllowOthers
Any help will be appreciated.
Regards,
Martin
--
You received this message because you are subscribed to the Google Groups "H2
Database" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/h2-database?hl=en.