I have started a HSQL server on a linux machine. I can reach it with the database manager, and do select and update querys and everything works fine. However when trying to use the SELECT statment from java code in eclipse an exception is thrown; java.sql.SQLEXception: Connection is broken : Transfer corrupt. But I can do UPDATE, no problem with that.
Server is started with "java org.hsqldb.Server -database dataBase -dbname db -address 192.168.0.2 -port 9001 -silent false -trace true" Wher dataBase is the name in dataBase.lck, dataBase.script, dataBase.properties, dataBase.log. The table data is loaded from the script-file when the server starts, could this be the problem?
I can see on my server that user SA is trying to connect, but is the disconnected, any ideas or better still, solutions?
Kind regards, Mattias
Joined: Jul 01, 2007
Problem solved, it was a driver mismatch between server and client.