connection « Default « JPA Q&A





1. Connection always established with default database    forum.hibernate.org

Hi everybody, we are developing a project using Hibernate V3.3.1.GA on JBoss 5.1/SQLServer. We noticed that the application always connects to the database defined as default for the given user on the SQLServer, regardless of the database name specified in the connection uri. In other words, it behaves as if no database name is passed to the jdbc driver... Is this ...