Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

sql:update problem  RSS feed

 
gaurav kanthed
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
i am using ms access 2000 as a database i can get data using sql tag libary but when i insert data throw
<sql:update dataSource="{datasource"}>
INSERT INTO books(id, name) VALUE(?, ?)
//here i am using <sql aram>
</sql:update>
record can not added at database.
i am not getting any type of error when i run jsp page.
 
Chetan Parekh
Ranch Hand
Posts: 3640
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you commit the transaction after updating the record?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!