Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Login         

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


neelam
Java Batch Execution
1 Answer(s)      4 years and 3 months ago
Posted in : Java Interview Questions


In a statement, I am executing a batch. What is the result of the execution?

Advertisement
View Answers

October 16, 2010 at 4:04 PM


It returns the int array.The array contains the affected row count in the corresponding index of the SQL.
batch execution actually in JDBC Present a series of independent statements to be executed as a group. The entire group of statements is defined prior to being executed. The statements may not be a select statement and may only return an optional row count and error information.
The batch may be executed during autocommit or within a standard transaction.
Execution of the batch is not all or nothing.


Related Tutorials/Questions & Answers:
Java Batch Execution
Java Batch Execution  In a statement, I am executing a batch. What is the result of the execution?  It returns the int array.The array... or within a standard transaction. Execution of the batch is not all or nothing
Time schedular for multiple batch file execution in java
Time schedular for multiple batch file execution in java  Hello All, i have a task in which i have to design a time schedular in java in which i can automate the batch file execution for the wholw day. For example i should have
Advertisements
Batch file for java application
Batch file for java application  please tell me how to create the batch file for java application(using swings).the application is created with netbeans
Java Execution
Java Execution  How can you load DLL files when your java class is loading first time
Running Batch files in java - Java Beginners
and every line from the batch file and execute it line by line in java. Is anyone... are sending you some sample program code for running batch (.bat) file in Java. We have...Running Batch files in java  Hi, I am writing a program which
execution of java program
execution of java program  wat are the steps for the execution of the servlet-jdbc program on tomcat 5.5 server.. PlS provide..the execution steps in detail..including the setting of classpath in DOS for mysql-connector-java. i
Execution of Multiple Threads in Java
Execution of Multiple Threads in Java  Can anyone tell me how multiple threads get executed in java??I mean to say that after having called the start method,the run is also invoked, right??Now in my main method if I want
java: try finally blocks execution
java: try finally blocks execution  java: try finally blocks execution
Execution - Java Beginners
Execution  Executing first java program
Java Execution Time Measurement(JETM)
Java Execution Time Measurement(JETM)  How can we integrate JETM in eclipse
Beep in Execution - Java Beginners
Beep in Execution  Hi everybody, I am now able to read the doc file in java but while executing it emitts beep sound everytime it reads from the file and displays the contents of doc file in command prompt. So help me
PreparedStatement using batch update - Java Beginners
PreparedStatement using batch update  How to execute different preparedStatement object using batch update(Java) Pls explain with the code. Thanks  Hi Friend, Try the following code: import java.sql.
Java Execution Time Measurement(JETM)
Java Execution Time Measurement(JETM)  Whether JETM can be implemented in Struts framework especially in Struts2. If not,tell the alternative solution
different execution time - Java Beginners
java code therefore due to the execution of other many processes into the system...different execution time    hello, when i run the bellow code more than one time i am getting different execution time("Total time taken"), Ex
JDBC batch insert using Java bean class
In this tutorial, you will learn about JDBC batch insert using java bean / model class
batch in jdbc
JDBC BATCH PROCESSING    In Batch processing, many queries work together as batch. The following program include collective set of SQL queries executed altogether to the database.".addBatch()" method is used to add
Java example to get the execution path
Java example to get the execution path       get execution path We can get the execution path of the system in java by using the system property. For getting execution
execution of image example program - Java Beginners
execution of image example program  sir. The example for the demo of image display in java,AwtImage.java,after the execution I can see only the frame used, but not the image to be displayed over it, even after selecting
Java example to calculate the execution time
Java example to calculate the execution time       get execution time This example program will describe you the way that how one can calculate or get the execution time
How to design a batch, design a batch, a batch
How to design a batch       Learn how to make a batch for the member of the unity, you can make same design by this example. New File: Create a new document. Circle: Draw a circle
plz tell me the code & execution process - Java Beginners
plz tell me the code & execution process  Write a program to download a website from a given URL. It must download all the pages from that website... to : http://www.roseindia.net/java/network/ http://www.roseindia.net/java
plz tell me the code & execution process - Java Beginners
plz tell me the code & execution process  Write a program to download... is: "); System.out.println(str); } } For more information on Java network visit to : http://www.roseindia.net/java/network/ http
JDBC Batch Processing
JDBC Batch Processing In this section we are discussing about JDBC Batch processing. You will learn how to write Java programs for JDBC batch processing. The JDBC Batch processing is the mechanism where a group of related SQL statements
JDBC add batch, JDBC add batch Example, JDBC add batch example code
JDBC add batch Making JDBC batch update example In this section we will learn how use JDBC add batch to make JDBC batch update. The JDBC batch update is used to execute a group of updates at one go. The JDBC batch update is different
Take input in batch file
Take input in batch file  How to take input in batch file? Thanks   Hi, You can use the following line of code in your batch file: set /p myfile=Enter file name: In the above code myfile variable will hold the data
run a batch file through javascript
run a batch file through javascript   How to run a batch file through javascript without prompting
JDBC: Batch Insert Example
JDBC: Batch Insert Example In this tutorial, you will learn how to do batch insertion of records using JDBC API. Batch Insert : When you want to insert..., may create communication overhead. So to reduce time and cost, we use batch
JDBC: Batch Update Example
JDBC: Batch Update Example In this tutorial, you will learn how to do batch update of records using JDBC API. Batch Update : When you want to update... cause communication overhead. So to reduce time and cost, we use batch update
 

 

 

DMCA.com