Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

eclipse database perspective error

Posted on 2011-09-16
7
Medium Priority
?
315 Views
Last Modified: 2012-05-12

Hello there,

when i right click on the table and select to view the table i get a error.i have attached a screenshot.please help.

cheers
zolf
Capture.GIF
0
Comment
Question by:zolf
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
7 Comments
 
LVL 60

Expert Comment

by:Kevin Cross
ID: 36553121
zolf,

Since you have asked this here, I am guessing you have confirmed the table does exist in the dbo schema. Therefore, other causes include permissions and invalid connection. You can try disconnecting and reconnecting to the database and see if that refreshed reference to the table. In the process, ensure that the Login has access to that particular table.

Regards,
Kevin
0
 

Author Comment

by:zolf
ID: 36567543

thanks for your comment.

>>I am guessing you have confirmed the table does exist in the dbo schema.
as you can see in the screenshot i have posted,it is in dbo.

>>In the process, ensure that the Login has access to that particular table.
i can connect to the db from sql management studio.
0
 
LVL 60

Expert Comment

by:Kevin Cross
ID: 36567749
I can see that Hibernate thinks it is in dbo, but I meant in SSMS if it was actually in there. Did you try disconnecting the data connection in Eclipse and reconnect?
0
Quiz: What Do These Organizations Have In Common?

Hint: Their teams ended up taking quizzes, too.

 

Author Comment

by:zolf
ID: 36572574
>>Did you try disconnecting the data connection in Eclipse and reconnect?
yes i tried,but no luck.please help
0
 

Author Comment

by:zolf
ID: 36573699

i have attached screenshot of the table in SSMS
Capture.GIF
0
 
LVL 60

Accepted Solution

by:
Kevin Cross earned 2000 total points
ID: 36575984
I cannot seem to duplicate this error at all. Try deleting the database connection and recreating. I just connected to a SQL Server with same version (10.50.1600) using the following:

Microsoft SQL Server 2008 JDBC Driver
JAR: sqljdbc4.jar (defaulted to sqljdbc.jar)
URL: jdbc:sqlserver://{servername}:1433;databaseName={database}
0
 

Author Closing Comment

by:zolf
ID: 36578260
thanks a lot.it worked when i deleted and recreated the db.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
Suggested Courses

661 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question