Hi,

I hope somebody will be able to help me.

I am trying to complete Hibernate tutorial: http://docs.jboss.org/hibernate/stable/core/reference/en/html/tutorial.html. HSQLDB is run by command:

mvn exec:java -Dexec.mainClass="org.hsqldb.Server" -Dexec.args="-database.0 file:target/data/tutorial"

I have configured HSQLDB Server driver and trying to connect to my db locally and so get error:

java.sql.SQLTransientConnectionException: connection exception: connection failure: java.io.EOFException
    at org.hsqldb.jdbc.Util.sqlException(Unknown Source)
    at org.hsqldb.jdbc.Util.sqlException(Unknown Source)
    at org.hsqldb.jdbc.JDBCConnection.<init>(Unknown Source)
    at org.hsqldb.jdbc.JDBCDriver$1.run(Unknown Source)
Caused by: org.hsqldb.HsqlException: connection exception: connection failure: java.io.EOFException
    at org.hsqldb.error.Error.error(Unknown Source)
    at org.hsqldb.ClientConnection.execute(Unknown Source)
    at org.hsqldb.ClientConnection.<init>(Unknown Source)
    ... 2 more

Also im able to connect through hybernate configuration and that small program I created by tutorial and was successful by connecting to HSQLDB by razorsql client as well.

Any idea guys?


Thanks,



Yours Sincerely,

Edvinas Maciulis,

LinkedIn: http://www.linkedin.com/in/edvinasmaciulis
Email: edwin.maciul@gmail.com