I assume you are using a datasource in your hibernate configuration. What does your datasource configuration (-ds.xml) look like? And please post the entire exception stacktrace that you see when Hibernate fails to reconnect after the DB is restarted.