To: Orion-Interest
Subject: Re: How do you tell orion not to autocommit?
Hi Keith,
If you are using Bean managed persistence, then get the connection
object using jndi lookup, then use connection.setAutocommit(false). I am not
aware how to do this in container managed persistence.Can some great
Hi Keith,
If you are using Bean managed persistence, then get the connection
object using jndi lookup, then use connection.setAutocommit(false). I am not
aware how to do this in container managed persistence.Can some great guys
explain this?Wish you a good day.
thanks,
Prasanth
12:22 PM
Subject: RE: How do you tell orion not to autocommit?
Excerpt from the API docs for method
java.sql.Connection.setAutoCommit(boolean autoCommit) follows
setAutoCommit
public void setAutoCommit(boolean autoCommit)
throws SQLException
Sets this connection's auto
Excerpt from the API docs for method
java.sql.Connection.setAutoCommit(boolean autoCommit) follows
setAutoCommit
public void setAutoCommit(boolean autoCommit)
throws SQLException
Sets this connection's auto-commit mode. If a connection is in
auto-commit mode, then all its SQL