This is off topic. But anyway:
Set auto commit off on your connection object, and then use the commit or
rollback function.
conn -> java.sql.Connection
conn.setAutoCommit(autoCommitVal);
conn.commit();
conn.rollback();
-----Original Message-----
From: suresh chaluvadi [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 11, 2002 12:48 PM
To: [EMAIL PROTECTED]
Subject: reg.commit in sql URGENT
Hi,
Here is my prob.
Actually i'm inserting some rows in a table using a
servlet program.In that after inserting I want to
commit those ones. i.e like commit statement in sql.
How to write commit statement in SQL.
Pls. help me in this regard.
Thanks
suresh
__________________________________________________
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html