• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

error message

 
srikanth sri
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
here is my prog...

it has compiled but when i run it has error message like

java.sql.SQLException:no data found

can anyone help please
 
Ninad Kulkarni
Ranch Hand
Posts: 802
Hibernate Linux Spring
 
srikanth sri
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thank you kulkarni

this is my first day so i'm not familiar how to post the questions.

and this site seems to be wonderful because i get the replies spontaneously
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In the ODBC Data Sources control panel, how did you set up "Temp"? That is, which data source is Temp using?

Do you really have to use ODBC? Why not install a real database such as MySQL or PostgreSQL and use it using it's JDBC driver?
 
amit punekar
Ranch Hand
Posts: 544
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
Try printing the stack trace as it would provide more information.
In your catch block that catches SQLException do e.printStackTrace().


 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic