metadata « Connection « JPA Q&A





1. Could not obtain connection metadata...    forum.hibernate.org

Newbie Joined: Fri Jan 23, 2004 1:08 pm Posts: 1 Hi, I use hibernate to connect to a Oracle 8i but something is wrong. This is the log of tomcat. Any suggestion is apprecated :-) [INFO] Environment - -Hibernate 2.1 beta 1 [INFO] Environment - -hibernate.properties not found [INFO] Environment - -using CGLIB reflection optimizer [INFO] Environment - -JVM proxy support: ...

2. What does "Could not obtain connection metadata" m    forum.hibernate.org

Full stack trace of any exception that occurs: 05-Nov-2004 08:51:50,435 WARN [net.sf.hibernate.cfg.SettingsFactory] Could not obtain connection metadata java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]Login failed for user 'tester'. at com.microsoft.jdbc.base.BaseExceptions.createException(Unknown Source) at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source) at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processErrorToken(Unknown Source) at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processReplyToken(Unknown Source) at com.microsoft.jdbc.sqlserver.tds.TDSLoginRequest.processReplyToken(Unknown Source) at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processReply(Unknown Source) at com.microsoft.jdbc.sqlserver.SQLServerImplConnection.open(Unknown Source) at com.microsoft.jdbc.base.BaseConnection.getNewImplConnection(Unknown Source) at com.microsoft.jdbc.base.BaseConnection.open(Unknown Source) at com.microsoft.jdbc.base.BaseDriver.connect(Unknown Source) at java.sql.DriverManager.getConnection(DriverManager.java:512) at java.sql.DriverManager.getConnection(DriverManager.java:140) ...

3. Could not obtain connection metadata    forum.hibernate.org

org.hibernate.dialect.OracleDialect oracle.jdbc.driver.OracleDriver jdbc:oracle:thin:@10.30.10.55:1521:XYZ_SCHEMA XYZ XYZ false

4. Could not obtain connection metadata    forum.hibernate.org

Hi, I am using tomcat 5.x and i have placed my context file inside conf/Catalina/localhost. I am getting the datasource inside my hibernate.cfg.xml. I have my web.xml configurations for JNDI. I have my driver inside common/lib as well as webapps/app/WEB-INF/lib. But i can run my application as i am getting following error. org.hibernate.cfg.SettingsFactory | Could not obtain connection metadata org.apache.commons.dbcp.SQLNestedException: Cannot ...

5. Could not obtain connection metadata    forum.hibernate.org

Newbie Joined: Tue Mar 17, 2009 1:56 pm Posts: 6 Hi My cfg.xml is jdbc:mysql://localhost:3306/javatest?autoReconnect=true javauser com.mysql.jdbc.Driver BLISS27 org.hibernate.transaction.JDBCTransactionFactory thread