can you explain transaction control in jcbc

can you explain transaction control in jcbc

can you explain transaction control in jcbc

View Answers

May 9, 2012 at 5:26 PM

Transaction Control

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.

Ads









Related Tutorials/Questions & Answers:
can you explain ?
can you explain ?  my dear can you teel me the explaintion for this code i need it GregorianCalendar cal = new GregorianCalendar(y, m, 0...(); } } iam explain whole code exept this part can you help
Use JTA to control transaction demarcation
Use JTA to control transaction...; Use JTA to control transaction demarcation...-managed transactions. When you code a bean-managed transaction for session
Advertisements
can any one explain this
can any one explain this  class Clidder { private final void flipper() { System.out.println("Clidder"); } } public class Ex3 extends Clidder { public final void flipper() { System.out.println
Explain how you overcame a major obstacle
Explain how you overcame a major obstacle       Qus. Explain how you overcame a major... you see yourself five (ten or fifteen) years from now? Ans. Explain your career
how the answer is 13 can anyone explain plz
how the answer is 13 can anyone explain plz  public class that { public static void main(String arr[]) { int i=3; int j=1; while(i<4) { //j=i; i=i+j/2; } System.out.println(i
Transaction
the transaction so I need to use the TransactionProxyFactoryBean. My question is that can I...Transaction  can we apply the advises as well as the TransactionProxyFactoryBean Using AOP in the same bean... just to explain it more: lets say we
Please can you help
Please can you help  I have a some code which uses a textarea comment box that will on post return the users text to the same page that they entered...; Please could you change the code so it will do this Please. Many thanks. Colin
Can you correct this codes?
Can you correct this codes?  Exception in thread "AWT-EventQueue-0" java.lang.ArrayIndexOutOfBoundsException: 4 at searchcon.(searchcon.java:39) at search.initComponents(search.java:41) at search.(search.java:7) at payroll
Hibernate 4.0-nested transaction not suported
in a single transaction or creating transaction for each record insert. Can u...Hibernate 4.0-nested transaction not suported  how i do nested transaction using Hibernate 4, i know hibernate 4 does not support nested transaction
Hibernate 4.0-nested transaction not suported
in a single transaction or creating transaction for each record insert. Can u...Hibernate 4.0-nested transaction not suported  how i do nested transaction using Hibernate 4, i know hibernate 4 does not support nested transaction
ModuleNotFoundError: No module named 'explain'
to install padas library. You can install explain python with following command...ModuleNotFoundError: No module named 'explain'  Hi, My Python... 'explain' How to remove the ModuleNotFoundError: No module named 'explain
J2ME Video Control Example
J2ME Video Control Example       This Application explain the use of Video Control. The work of video control is used to controls the display of video. In this example we
Can you get a job with Dataquest?
Can you get a job with Dataquest?  Hi, I am beginner in Data Science and machine learning field. I am searching for the tutorials to learn: Can... so that I can learn the topic "Can you get a job with Dataquest?"
Can you make AI in Python?
Can you make AI in Python?  Hi, I am beginner in Data Science and machine learning field. I am searching for the tutorials to learn: Can you make... learn the topic "Can you make AI in Python?". Also tell me which
Can you build AI with Python?
Can you build AI with Python?  Hi, I am beginner in Data Science and machine learning field. I am searching for the tutorials to learn: Can you... that I can learn the topic "Can you build AI with Python?". Also tell me
Can you help me with applet?
Can you help me with applet?  I'm very new to applet, and i'm weak in graphic design part. How can i add the graphic in my test project? Can you help me with this: import java.io.*; import java.util.*; import javax.swing.
Can you give me Hibernate one to one example?
Can you give me Hibernate one to one example?  Hello there, Can you give me a hibernate one to one example that explain the concept and mapping in Hibernate. Thanks in advance
ModuleNotFoundError: No module named 'transaction'
you have to install padas library. You can install transaction python...ModuleNotFoundError: No module named 'transaction'  Hi, My Python... 'transaction' How to remove the ModuleNotFoundError: No module named '
Distributed transaction in java
, there can be many transaction branches on the transaction managet...-small; text-decoration: underline; } Distributed Transaction in java EE In distributed java enterprise application, transaction is processed
ModuleNotFoundError: No module named 'django-explain'
environment you have to install padas library. You can install django-explain...ModuleNotFoundError: No module named 'django-explain'  Hi, My... named 'django-explain' How to remove the ModuleNotFoundError: No module named
ModuleNotFoundError: No module named 'explain_sklearn'
environment you have to install padas library. You can install explain_sklearn...ModuleNotFoundError: No module named 'explain_sklearn'  Hi, My... named 'explain_sklearn' How to remove the ModuleNotFoundError: No module named
ModuleNotFoundError: No module named 'keras-explain'
environment you have to install padas library. You can install keras-explain python...ModuleNotFoundError: No module named 'keras-explain'  Hi, My... 'keras-explain' How to remove the ModuleNotFoundError: No module named
ModuleNotFoundError: No module named 'keras-explain'
environment you have to install padas library. You can install keras-explain python...ModuleNotFoundError: No module named 'keras-explain'  Hi, My... 'keras-explain' How to remove the ModuleNotFoundError: No module named
ModuleNotFoundError: No module named 'path-explain'
environment you have to install padas library. You can install path-explain python...ModuleNotFoundError: No module named 'path-explain'  Hi, My Python... 'path-explain' How to remove the ModuleNotFoundError: No module named '
ModuleNotFoundError: No module named 'tf-explain'
-explain' error? Thanks   Hi, In your python environment you have to install padas library. You can install tf-explain python...ModuleNotFoundError: No module named 'tf-explain'  Hi, My Python
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... code as example that will demonstrate how may you use the Hibernate Transaction
ModuleNotFoundError: No module named 'control'
to install padas library. You can install control python with following command...ModuleNotFoundError: No module named 'control'  Hi, My Python... 'control' How to remove the ModuleNotFoundError: No module named 'control
What Systems you can migrate to Cloud?
technology by migrating their resources. Applications and systems you can migrate... of applications and systems you can migrate to cloud for specific business needs and ease... as it can give you some experience of downtime until the website
explain this method
explain this method   i hope any one can explain this method ` private void showMonth(int m, int y) { int lead_spaces = 0; if (m &lt; 0 || m > 11) { System.out.println("It should be 1 to 12
Please explain Hibernate Sessionfactory.
to Hibernate you can go through the following links which we have provided, the tutorials here will help you learn Hibernate and will explain about hibernate...Please explain Hibernate Sessionfactory.  Hi there, Please explain
Can you create an object of an abstract class?
Can you create an object of an abstract class?   Hi, Can you create an object of an abstract class? Thanks

Ads