We are currently using the Session with a LocalThread<Session> so that there is a single session for each thread.
I modified the config to look as follows:
<property name="connection.url">jdbc:mysql://localhost/convene?autoReconnect=true</property>
and it has probably fixed another issue that we were having where after long periods of time the SQL database connection was lost, however it didn't help the InterruptedIOException.
I was just reading the following link:
http://lists.mysql.com/java/6301
I am not sure about the internals of hibernate and how it accesses MySQL, but what is mentioned in the above link seems like it could be the problem i am having. Once the exception occurs we are unable to use the database from then on as it just keeps throwing the exception each time we try to access it.
Thanks, Brendon.