This week's book giveaway is in the OCAJP forum. We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line! See this thread for details.
hi friends plz help me out! i m entering data in 6 table thru a html form, i want that if there is a failure in between updating the tables the transaction shud be roll back. i have turned off the autocommit and use addBatch(sql) to add all sql statments and then executeBatch() and after that connection.commit(). this is working fine a standalone application but it is not working in servlets.