I can reproduce this problem with previous versions, but so far I
couldn't reproduce it with version 1.0.78. Could you post a simple
test case similar to the one below? Or maybe this test doesn't work
for you?
public static void main(String[] args) throws Exception {
org.h2.Driver.load();
Server server = Server.createTcpServer(new String[0]).start();
Connection conn =
DriverManager.getConnection("jdbc:h2:tcp://localhost/mem:appDB");
System.out.println(conn.getMetaData().getDatabaseProductVersion());
PreparedStatement prep = conn.prepareStatement("CALL ?");
prep.setCharacterStream(1, new StringReader(new String(new
char[100000])));
prep.executeQuery();
conn.close();
server.stop();
}
Regards,
Thomas
Thanks! You are right, the missing slash is the problem. Unfortunately
I did not test the last release with Linux, otherwise I would have
found out. The fix is:
SessionRemote.getFilePrefix(String dir) {
StringBuffer buff = new StringBuffer();
buff.append(dir);
buff.append('/'); // << NEW
This will be fixed in the next release.
Regards,
Thomas