0 Replies Latest reply on Feb 21, 2008 2:52 PM by Len Takeuchi

    How to stop JBoss from connecting to database on application

    Len Takeuchi Newbie


      We are using EJB3 and we are finding that on application (EAR) deployment, a connection is obtained from the database even though it is unused. We can understand that if hibernate auto ddl creation/update is specified then the connection would be used to do the ddl creation but we have it turned off but it still connects to the database and then does nothing and then disconnects. We want to stop the connection from being obtained. Is there any way to configure this in Jboss/EJB/hibernate?