-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Changed database context to
PostPosted: Wed May 12, 2004 11:34 am 
Newbie

Joined: Wed May 12, 2004 11:11 am
Posts: 1
===========start exception =========================
11:27:54,553 DEBUG JDBCExceptionReporter:18 - SQL Warning
java.sql.SQLWarning: [DEV03752]Changed database context to 'rem1'.
at com.inet.tds.a.a(Unknown Source)
at com.inet.tds.a.<init>(Unknown Source)
at com.inet.tds.TdsDriver.connect(Unknown Source)
at java.sql.DriverManager.getConnection(DriverManager.java:512)
at java.sql.DriverManager.getConnection(DriverManager.java:140)
at .sf.hibernate.connection.DriverManagerConnectionProvider.
getConnection(DriverManagerConnectionProvider.java:101)
===============end exception =======================

I am using hibernate 2.1 with MS Sql Server. The demo is working, but I get the above exception, and the tables end up created in a different database. I have two databases, REM1 and REM4 that have the same login. My configuration points to REM4 database, but due the exception, it ends up using REM1 database. I am using INETSOFTWARE JDBC driver for MS Sql Server. Does anyone know what is going on and why?

Thanks


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.