Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JDBC and MS SQL - object doesn't exist  RSS feed

 
dema rogatkin
Ranch Hand
Posts: 294
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you show us the code you are running and a stack trace showing the exception message?
 
Maximilian Xavier Stocker
Ranch Hand
Posts: 381
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!