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.









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
You handle your own transaction
You handle your own transaction  How do you handle your own transaction
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
can u plz explain the http request methods - JSP-Servlet
can u plz explain the http request methods  can u plz explain http... duplicate entries in the MySQL database we can follow one of these following approach... that we have deleted. Here is the explanation with the query : To explain use 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
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
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 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 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.
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
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
Explain - LDAP
Explain LDAP  Any one explain about LDAP ? and also explain about JNDI what relation b/w this two
Explain ServletContext.
Explain ServletContext.  Explain ServletContext.   Hi, Here is the answer,ADS_TO_REPLACE_1 ServletContext interface is a window for a servlet to view it?s environment. A servlet can use this interface to get
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
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
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
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
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
how can you calculate you your age in daies??
how can you calculate you your age in daies??  **hi, I am beginner in java! can any one help me to write programm to calculate age in daies... + " days."); } } Hope that the above code will be helpful for you
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 '
Explain WML
Explain WML  hii, What is WML?   hello,ADS_TO_REPLACE_1 WML stands for Wireless Markup Language. It is a simple language used to create applications for small wireless devices like mobile phones. WML is analogous
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
ModuleNotFoundError: No module named 'can-you-guess'
ModuleNotFoundError: No module named 'can-you-guess'  Hi, My... 'can-you-guess' How to remove the ModuleNotFoundError: No module named 'can-you-guess' error? Thanks   Hi, In your python
how can you say java is secure
how can you say java is secure  we are using notepad editor for Java programming which is an Microsoft product, then how can you say Java is secure when you are using Microsoft product as an editor
Can you provide me Hibernate configuration tutorial?
Can you provide me Hibernate configuration tutorial?  Hello There, I want to learn about Hibernate configuration, Can anyone provide me with hibernate configuration tutorial> Thanks
Can you instantiate the Math class? - Java Beginners
Can you instantiate the Math class?   Hi, Can you create object of Math class? Thanks   Hi, All the methods in Math class is static. The constructor is not public in the Math class. So, we can't create
Can you become a data scientist without a degree?
Can you become a data scientist without a degree?  Hi, I am beginner... to learn: Can you become a data scientist without a degree? Try to provide me good examples or tutorials links so that I can learn the topic "Can you
How can you tell a fake data scientist?
How can you tell a fake data scientist?  Hi, I am beginner in Data...: How can you tell a fake data scientist? Try to provide me good examples or tutorials links so that I can learn the topic "How can you tell a fake data
Can you work part time as a data scientist?
Can you work part time as a data scientist?  Hi, I am beginner... to learn: Can you work part time as a data scientist? Try to provide me good examples or tutorials links so that I can learn the topic "Can you work part
Can you work as a data scientist from home?
Can you work as a data scientist from home?  Hi, I am beginner... to learn: Can you work as a data scientist from home? Try to provide me good examples or tutorials links so that I can learn the topic "Can you work
Can you teach yourself machine learning?
Can you teach yourself machine learning?  Hi, I am beginner in Data...: Can you teach yourself machine learning? Try to provide me good examples or tutorials links so that I can learn the topic "Can you teach yourself
Can you learn python in 2 days?
Can you learn python in 2 days?  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 learn python in 2 days?". Also
How many qusetions can you ask?
How many qusetions can you ask?  Hi I was very impressed following my very first question I asked regarding some coding. However I am not sure why any further questions have not yet been answered. Is this because they are more
Explain Hibernate Relationships with example.
Explain Hibernate Relationships with example.  Hello, Please explain various hibernate relationships. And if you can provide some examples that would be a great help.. Thank you....   Hi, Hibernate relational
Can you tell me how it worked?
Can you tell me how it worked?  public class Ball { private static final int DIAMETER = 30; int x = 0; int y = 0; int xa = 1; int ya = 1; private Game game; public Ball(Game game) { this.game= game; } void move
Hey neighbor, can you lend some Hammers?
Hey neighbor, can you lend some Hammers?  import java.util.Date; public class AccountProblem { public static void main(String[] args) { //create an instance object of class Stock Account myAccount = new Account
Hey neighbor, can you lend some Hammers?
Hey neighbor, can you lend some Hammers?  import java.util.Date; public class AccountProblem { public static void main(String[] args) { //create an instance object of class Stock Account myAccount = new Account
can you check below code if any erors
can you check below code if any erors  database.java /* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template

Ads