Problem DescriptionThis just bugged me for a while. When trying to get connected to a locally running hsqldb server from a minimal spring mvc project I got this java.sql.SQLException; Connection is broken connection. Above all I could properly connect using squirrel so I knew the parameters were right.
Root CauseEventually it was an answer in this thread that made me check the hsqldb versions I was using. Since I knew I was using the lib from the same server within squirrel but another one from maven in the spring project this sounded very plausible.
SolutionAnd yes if you add a dependency for hsqldb instead of org.hsqldb you get an older version. So quickly changed this dependency in my pom file
to this one
And that perfectly solved the issue. Good lock to everyone who got here (since that's probably not by searching the web for "funny kittens")!