Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Java > Java and JDK > JSP Basics
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
JSP Basics Beginning-level questions on JSP. More advanced coders should post to Pro JSP.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the JSP Basics section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old December 4th, 2007, 01:06 PM
Authorized User
 
Join Date: Nov 2007
Location: Rajshahi, , Bangladesh.
Posts: 16
Thanks: 0
Thanked 1 Time in 1 Post
Default Access & Linux

1>How Can I use commit or Rollback in acces using java .

2>How can i pick up shutdown event in linux .

3>Can any one give me any link of Linux signal's book or different types of linux OS event book.
Reply With Quote
  #2 (permalink)  
Old December 5th, 2007, 04:50 AM
Friend of Wrox
 
Join Date: Mar 2007
Location: Hyderabad, A.P., India.
Posts: 373
Thanks: 0
Thanked 1 Time in 1 Post
Default

start by calling setAutoCommit(false) on your connection object.
execute all the SQL Queries in a try block. In the catch() block call the rollback() method on the connection object. And commit() in the finally block.

- Rakesh
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
New to Access & DB gbowne1 Access 16 December 13th, 2008 02:36 AM
Ms Access in Linux anukagni Access 3 March 8th, 2006 01:36 AM
Linux & KDE & C++ & QT & MYSQL & Kdevelop Munnnki Linux 0 January 2nd, 2005 05:41 PM
Access & Outlook Ailmanki Access VBA 1 April 7th, 2004 08:31 AM
ODBC & Access Ben Access 1 July 20th, 2003 09:41 PM



All times are GMT -4. The time now is 01:19 AM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.