aspose file tools
The moose likes JDBC and the fly likes JDBC and MS SQL - object doesn't exist Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Databases » JDBC
Reply Bookmark "JDBC and MS SQL - object doesn Watch "JDBC and MS SQL - object doesn New topic
Author

JDBC and MS SQL - object doesn't exist

dema rogatkin
Ranch Hand

Joined: Oct 09, 2002
Posts: 294
Does somebody know what can be a problem? JDBC connection created successfully, however any query raises SQL exception object doesn't exist. SQL query analyzer works fine with the same query.


Tough in space?, <a href="http://tjws.sf.net" target="_blank" rel="nofollow">Get J2EE servlet container under 150Kbytes here</a><br />Love your iPod and want it anywhere?<a href="http://mediachest.sf.net" target="_blank" rel="nofollow">Check it here.</a><br /><a href="http://7bee.j2ee.us/book/Generics%20in%20JDK%201.5.html" target="_blank" rel="nofollow">Curious about generic in Java?</a><br /><a href="http://7bee.j2ee.us/bee/index-bee.html" target="_blank" rel="nofollow">Hate ant? Use bee.</a><br /><a href="http://7bee.j2ee.us/addressbook/" target="_blank" rel="nofollow">Need contacts anywhere?</a><br /><a href="http://searchdir.sourceforge.net/" target="_blank" rel="nofollow">How to promote your business with a search engine</a>
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

Can you show us the code you are running and a stack trace showing the exception message?


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Maximilian Xavier Stocker
Ranch Hand

Joined: Sep 20, 2005
Posts: 381
Originally posted by dema rogatkin:
Does somebody know what can be a problem?


Yes. Your post contains some other incorrect assumptions. Namely you haven't created a connection successfully or you are in fact running different queries against tables that do not exist.
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: JDBC and MS SQL - object doesn't exist
 
Similar Threads
Hibernate Hell
[ODBC SQL Server Driver][SQL Server]The multi-part identifier "voter.eno" could not be boound
Q 4 C. Bauer & G. King (2): Hibernate & formulating queries
JDBC doesn't retrieve all the results available in the MSSQL database
What is hibernate dialect, why we are using dialect in hiberate