whar are savepoint in a transaction

Ads
 

whar are savepoint in a transaction

whar are savepoint in a transaction

View Answers

May 9, 2012 at 5:25 PM

Transaction control involves committing and roll backing transactions and setting Isolation level for transactions.

1) Setting the Isolation level: Using the Connection.setTransactionIsolation(int level) method isolation level can be set in JDBC. the method can accept any of the arguments listed below.

TRANSACTION_NONE
TRANSACTION_READ_COMMITTED
TRANSACTION_SERIALIZABLE
TRANSACTION_READ_UNCOMMITTED
TRANSACTION_REPEATABLE_READ

2) Committing or rolling back: To commit or roll back transactions explicitly, use the commit or rollback methods.


May 9, 2012 at 5:27 PM

Save point is the point to which we can undo the unsaved data. Applications can set a savepoint within a transaction and then roll back all work done after the savepoint. A save point is created using the method Connection.setSavePoint(). To rollback to the save point use Connection.rollback(Savepoint svpt).

Ads









Related Tutorials/Questions & Answers:
ModuleNotFoundError: No module named 'savepoint'
ModuleNotFoundError: No module named 'savepoint'  Hi, My Python... 'savepoint' How to remove the ModuleNotFoundError: No module named 'savepoint' error? Thanks   Hi, In your python environment you
Whar are the features of Spring Framework
Whar are the features of Spring Framework   Whar are the features of Spring Framework   Hi, In Spring 3.0 there are some new features in Java. The Spring 3.0 framework having latest features such as it support
Advertisements
Transaction
the transaction so I need to use the TransactionProxyFactoryBean. My question is that can I use the advice as well as the spring provided transaction in the same person bean as a AOP. I don't want to write the code for transaction, just want
ModuleNotFoundError: No module named 'dm.zodbpatches.commit_savepoint'
ModuleNotFoundError: No module named 'dm.zodbpatches.commit_savepoint' ...: ModuleNotFoundError: No module named 'dm.zodbpatches.commit_savepoint' How to remove the ModuleNotFoundError: No module named 'dm.zodbpatches.commit_savepoint' error
Version of commons-transaction>commons-transaction dependency
List of Version of commons-transaction>commons-transaction dependency
Implement transaction serializability
Implement transaction serializability  I need to implement transaction serializability in Java using semaphores/monnitors. What is the code to do
ModuleNotFoundError: No module named 'transaction'
ModuleNotFoundError: No module named 'transaction'  Hi, My Python... 'transaction' How to remove the ModuleNotFoundError: No module named 'transaction' error? Thanks   Hi, In your python environment
Hibernate 4.0-nested transaction not suported
Hibernate 4.0-nested transaction not suported  how i do nested transaction using Hibernate 4, i know hibernate 4 does not support nested transaction. Is there any way to do nested transaction like inserting more than one record
Hibernate 4.0-nested transaction not suported
Hibernate 4.0-nested transaction not suported  how i do nested transaction using Hibernate 4, i know hibernate 4 does not support nested transaction. Is there any way to do nested transaction like inserting more than one record
Hibernate Transaction
Hibernate Transaction In this tutorial you will learn about the Transaction in Hibernate. In transaction multiple operations are gathered into a single unit... exceptions, are FATAL. In this case transaction is need to be rolled back
Artifacts of commons-transaction
List of Artifacts of commons-transaction maven depenency
Web Page Transaction
Web Page Transaction  Hello sir, i want to add an Effective page transaction when i go to my home page to other page in js...plllzzz help me...rppy soon
Maven Dependency commons-transaction >> 1.2
You should include the dependency code given in this page to add Maven Dependency of commons-transaction >> commons-transaction version1.2 in your project
Transaction in last 3 months
Transaction in last 3 months  I have a project in which i have to calculate amount submitted through transactions in last three months. I have to check the date of all transactions in past 90 days and add the total amount
Java eft transaction
of a particular type (savings, current, credit). ? A transaction request.... In this case the transaction should be declined. Hint 1: When a Card Processor (the class... testing. When your Card processor is tested by running the Transaction Processor
ModuleNotFoundError: No module named 'clean-transaction'
ModuleNotFoundError: No module named 'clean-transaction'  Hi, My... named 'clean-transaction' How to remove the ModuleNotFoundError: No module named 'clean-transaction' error? Thanks   Hi, In your
ModuleNotFoundError: No module named 'drf-transaction'
ModuleNotFoundError: No module named 'drf-transaction'  Hi, My... named 'drf-transaction' How to remove the ModuleNotFoundError: No module named 'drf-transaction' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'kb_transaction'
ModuleNotFoundError: No module named 'kb_transaction'  Hi, My... named 'kb_transaction' How to remove the ModuleNotFoundError: No module named 'kb_transaction' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'transaction-test'
ModuleNotFoundError: No module named 'transaction-test'  Hi, My... named 'transaction-test' How to remove the ModuleNotFoundError: No module named 'transaction-test' error? Thanks   Hi, In your
ModuleNotFoundError: No module named 'undoable-transaction'
ModuleNotFoundError: No module named 'undoable-transaction'  Hi...: No module named 'undoable-transaction' How to remove the ModuleNotFoundError: No module named 'undoable-transaction' error? Thanks   Hi
Distributed transaction in java
-small; text-decoration: underline; } Distributed Transaction in java EE In distributed java enterprise application, transaction is processed by Transaction Manager. Transaction manager is the primary component of distributed
Version of org.apache.commons.transaction>commons-transaction dependency
List of Version of org.apache.commons.transaction>commons-transaction dependency
Version of geronimo>geronimo-transaction dependency
List of Version of geronimo>geronimo-transaction dependency
Version of jboss>jboss-transaction dependency
List of Version of jboss>jboss-transaction dependency
Version of com.isuwang>dapeng-transaction dependency
List of Version of com.isuwang>dapeng-transaction dependency
JDBC Transaction ACID property
.style1 { text-align: center; } JDBC Transaction ACID Property A Transaction is a unit of work performed on the database and treated in a reliable way independent of other transaction. In database transaction processing ACID
Could not open JPA EntityManager for transaction
Could not open JPA EntityManager for transaction  Hi, I am getting following error: Could not open JPA EntityManager for transaction; nested exception is javax.persistence.PersistenceException
Use JTA to control transaction demarcation
Use JTA to control transaction...; Use JTA to control transaction demarcation In a bean-managed transaction (BMT), the code in the session
MySQL BEGIN Transaction
MySQL BEGIN Transaction This example illustrates how to use the BEGIN keyword in a Transaction. In this example we create a table 'trans' with column 'id', 'item' and 'quantity'. Here in the query below we insert one row in the table
ModuleNotFoundError: No module named 'django-transaction-barrier'
ModuleNotFoundError: No module named 'django-transaction-barrier'  Hi...: No module named 'django-transaction-barrier' How to remove the ModuleNotFoundError: No module named 'django-transaction-barrier' error? Thanks
ModuleNotFoundError: No module named 'django-transaction-barrier'
ModuleNotFoundError: No module named 'django-transaction-barrier'  Hi...: No module named 'django-transaction-barrier' How to remove the ModuleNotFoundError: No module named 'django-transaction-barrier' error? Thanks

Ads