SCJP Certification

Sun Certified Java Programmer Certification exam essentials

March 5th, 2010

What is the begin() method?

SCBCD, Uncategorized, by Daisy Williams.

The begin() method creates a new transaction and associates it with the current thread. This method belongs to the UserTransaction interface. The general form of this method is as follows:

public abstract void begin() throws IllegalStateException

This method will throw an IllegalStateException if the thread is already associated with a transaction.

Share

Back Top

Responses to “What is the begin() method?”

Comments (0) Trackbacks (0) Leave a comment Trackback url
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Your email address will not be published. Required fields are marked *

*