[Webinar] Streamline your web hosting managementRegister Today

x
?
Solved

eclipse database perspective error

Posted on 2011-09-16
7
Medium Priority
?
317 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 61

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 61

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
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 

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 61

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

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

Question has a verified solution.

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

For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
This exercise is about for the following scenario: Dmgr and One node with 2 application server. Each application server contains it owns application. Application server name as follows server1 contains app1 server2 contains app1 Prereq…
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
This video teaches viewers about errors in exception handling.
Suggested Courses
Course of the Month10 days, 6 hours left to enroll

591 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