startup « Connection « JPA Q&A





1. Verify database connection using Hibernate on startup    stackoverflow.com

I have a desktop app where I'd like to test the validity of the connection between the app and the database. What is the best way to test this on ...

2. How to delay hibernate connection from application startup in web app    coderanch.com

Hi Everyone, I have a rather unique (I think) problem. Currently we have a java web application and hibernate objects are being loaded through the web.xml contextConfigLocation /WEB-INF/spring-appcontext.xml /WEB-INF/spring-hibernate.xml /WEB-INF/spring-backingbean.xml /WEB-INF/spring-service.xml /WEB-INF/spring-dao.xml /WEB-INF/spring-security.xml /WEB-INF/spring-datasource.xml ... This works great because hibernate gets loaded when the web app starts up. The problem is now we would like hibernate to ...