Hi
I use MySql with my Hibernate. I have a RCP Java application with some complex objectstructures. So I use a read session wich is open during the application and I never close it. For writing i use a session per transaction.
Now I have the problem that the connection is closed when I wait 10 or 15 minutes without a interaction with the gui.. ok i think this is so becous of this :
http://www.hibernate.org/117.html#A13
I think my problem is that i dont close the session and so my jdbc connection die. I try to add autoconnect=true to the jdbc url as prameter.. but its no use..
Exists a method to say the session.. dont close it after a time.
thx
[/url]