detect « Connection « JPA Q&A





1. How to detect open database connection with Hibernate / JPA?    stackoverflow.com

I am learning JPA w/Hibernate using a Java SE 6 project. I'd simply like to be able to detect if the connection between Hibernate and my database (MS SQL Server) is ...

2. How to detect DB lost connection    forum.hibernate.org

Hi, I have a requirement to detect whether the failure of writing to DB was due to lost connection (in which case I need to write that record to file x.csv) or due to the corrupted data (for example one column of the table was too long) (in which case I need to write the record to another file y.csv). I ...

3. detect a dead db connection    forum.hibernate.org