This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

HOW TO USE ResultSet.insertRow() ?

 
fengzixuan zheng
Ranch Hand
Posts: 31
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I got a problem.
I successfully connect to a MS Access database. (Using JDBC:ODBC bridge)
Also I can roll the records, I can delete the records. But once I use the insertRow() method, a SQLException will occur:
java.sql.SQLException: [Microsoft][ODBC Microsoft Access Dirver] mistakes in rows(Just the meaning).
and followed by a lot of at......
Please Help

With regards
 
Jamie Robertson
Ranch Hand
Posts: 1879
MySQL Database Suse
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what is the exact error message? What is the offending code? have you looked at http://java.sun.com/docs/books/tutorial/jdbc/jdbc2dot0/inserting.html ?
Jamie
 
fengzixuan zheng
Ranch Hand
Posts: 31
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Jamie Robertson:
what is the exact error message? What is the offending code? have you looked at http://java.sun.com/docs/books/tutorial/jdbc/jdbc2dot0/inserting.html ?
Jamie

Jamie , thanks for you replay.
I have searched the web page you given above, but I find it doesn't help.
I post a new paste, enclosed my codes, I wish you have time to have a look.
Thank you again.

Fengzixuan
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic