this is my first question on the site so be patient if something is not correctly in it.
I have a problem with Hibernate in the Grails application. The application works with MySQL database. When it tries to perform save operation for one specific domain object (this class is very simple, just several fields and many to one relation with another domain class) it hangs. I am getting socket timeout exception no matter how big max connection and max socket timeout was set during connection.
The strangest thing is that this happens only with production server. On local environment this piece of code works fine. And other database operations are also executed fine.
I tried to perform generated by Hibernate insert statement manually and it works good. But Hibernate still fails to finish the operation no matter how long I wait.
Do you have any ideas what can cause such behavior?