Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

database connectivity using java

 
bala kan
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Hi good morning to everyone,

i have done java program using jdbc odbc driver to update the table "table1" in database "update"..

the codes are as



when we execute this file, it gives an error like that

unable to connect
error is java.sql.SQLException: [Microsoft][ODBC Microsoft Access Driver]COUNT field incorrect..


i have been using ms-access 2007 database, please let me know why this program doesn't work..

Thanks in advance
 
Vishal Shaw
Ranch Hand
Posts: 179
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check out your query

It requires only three columns , but you are trying to put 4 inputs
 
bala kan
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thank you very much vishal
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic