sql « Tomcat « JPA Q&A





1. Connection Reset by Peer Error    stackoverflow.com

I am getting the following exception

[Microsoft][SQLServer 2000 Driver for JDBC]Connection reset by peer: socket write error
Its happening on the application server when the web app tries to access a database ...

2. What is causing a Hibernate SQL query exception?    stackoverflow.com

Hi all and sorry in advance for this post but I've spent way too much time going around in circles so I'm hoping someone could shed a light on it here ...

3. Getting SQL script from Hibernate update    stackoverflow.com

I'm looking for way to get the SQL update script when Hibernate automatically updates tables. I'm using hibernate.hbm2ddl.auto=update in development environment only, and I need SQL script that updates tables for production. ...