提交 9de6aa07 authored 作者: Thomas Mueller's avatar Thomas Mueller

When using the small version of H2 ('jarClient'), the first call to…

When using the small version of H2 ('jarClient'), the first call to Connection.createBlob (or similar) could throw a ClassNotFoundException.
上级 f24105c1
...@@ -18,7 +18,11 @@ Change Log ...@@ -18,7 +18,11 @@ Change Log
<h1>Change Log</h1> <h1>Change Log</h1>
<h2>Next Version (unreleased)</h2> <h2>Next Version (unreleased)</h2>
<ul><li>Literals of type BIGINT now have the correct data type. <ul><li>When using the small version of H2 ('jarClient'), the first call to
Connection.createBlob (or similar) could throw a ClassNotFoundException
because the file org.h2.store.fs.FileSystemZip is not included. This missing class
is now ignored.
</li><li>Literals of type BIGINT now have the correct data type.
</li></ul> </li></ul>
<h2>Version 1.2.131 (2010-03-05)</h2> <h2>Version 1.2.131 (2010-03-05)</h2>
......
...@@ -10,7 +10,6 @@ import java.io.IOException; ...@@ -10,7 +10,6 @@ import java.io.IOException;
import java.io.InputStream; import java.io.InputStream;
import java.io.OutputStream; import java.io.OutputStream;
import java.util.ArrayList; import java.util.ArrayList;
import org.h2.message.DbException;
import org.h2.util.New; import org.h2.util.New;
/** /**
...@@ -55,7 +54,7 @@ public abstract class FileSystem { ...@@ -55,7 +54,7 @@ public abstract class FileSystem {
try { try {
Class.forName(c); Class.forName(c);
} catch (Exception e) { } catch (Exception e) {
throw DbException.convert(e); // ignore - the files may be excluded in purpose
} }
} }
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论