Hi,
As a part of recent migration to latest H2 jar in my project, I came across a connection issue.
The way it works in our project is that one program starts H2 database in server mode and connects to the database. Another program in the same JVM uses the URL "
jdbc:h2:tcp://localhost/myfolder/mydb;IGNORECASE=TRUE" and tries creating a connection using java.sql.DriverManager to same database i.e.
Connection conn = DriverManager.getConnection(this.url, this.user, this.password);
But the connection object is not getting created after I migrate to latest H2 jar (Earlier we were using 1.2.147 and it was working fine there). After some analysis, I could narrow down on the fact that if I use H2 version 1.3.156 or below, this code works fine but if I start using H2 version 1.3.157 or above, the connection is not created for the second program. I checked the changelog for both these versions (
http://www.softpedia.com/progChangelog/H2-Database-Engine-Changelog-30870.html) but I could not find anything that might throw some light on this. Note that our H2 database does not contain any table with BLOB/CLOB column.
Could you please look into this and let me know what needs to be done to get it working?
Regards,
Aditya