Solved

eclipse database perspective error

Posted on 2011-09-16
7
311 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
  • 4
  • 3
7 Comments
 
LVL 59

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 59

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
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

 

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 59

Accepted Solution

by:
Kevin Cross earned 500 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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
numbers ascending pyramid 101 191
map related example 6 47
login jsp example 24 46
How  Can  I  resolve   this  Error "java.sql.SQLException: Invalid column index" 4 37
Configure Web Service (server application) I. Configure security for Web Services methods First, we need to protect Session bean which implements the service: 1. Open EJB deployment descriptor (ejb-jar.xml) in the EJB project that contains you…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
The viewer will learn how to implement Singleton Design Pattern in Java.

813 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now