What is the return type of execute mehtod in jdbc

Ads
 

What is the return type of execute mehtod in jdbc

View Answers

March 17, 2009 at 1:32 AM

Hi friend,


It returns boolean :
true if the first result is a ResultSet object; false if it is an update count or there are no results

Thanks

Ads









Related Tutorials/Questions & Answers:
What is the return type of the main method?
What is the return type of the main method?  hi, What is the return type of the main method? thanks   Hi, In the java programming the Main() method doesn't return anything hence declared void. In Java, you need
JDBC Execute Update Example
JDBC Execute Update Example       JDBC Execute Update query is used to modify or return you an integer value specify... a simple example from JDBC Execute update Example. In this Tutorial we want
Advertisements
What it will return ..... ?
What it will return ..... ?   import java.util.*; public class Name { private final String first, last; public Name(String first, String last...) { if (!(o instanceof Name)) return false; Name n = (Name)o; return n.first.equals
What is mime type in HTML
What is mime type in HTML  what is mime type in html? is it different in new HTML5
What is mime type in HTML
What is mime type in HTML  what is mime type in html? is it different in new HTML5
what are the steps in jdbc?
what are the steps in jdbc?  what are the steps in jdbc
type 4 jdbc driver
type 4 jdbc driver   i read in this site that type 4 jdbc driver is the fastest one so used it to connect with the database.......but not tried another drivers,....can u specifically answer me why type 4 is the fastest one
JDBC Execute Query
JDBC Execute Query       The  Execute Query in JDBC retrieve the elements from a database. In this Tutorial we want to describe you a code that helps you to understand JDBC Execute Query
JDBC Execute Statement
JDBC Execute Statement       JDBC Execute Statement is used to execute SQL Statement, The Execute... a database. In this Tutorial, the code illustrates an example from JDBC Execute
What is JDBC architecture?
What is JDBC architecture?  Hi, Can anyone explain me the architecture of the JDBC? Thanks   Hi, Check the tutorials JDBC architecture. Thanks
ModuleNotFoundError: No module named 'airflow-jdbc-xcom-return'
ModuleNotFoundError: No module named 'airflow-jdbc-xcom-return'  Hi...: No module named 'airflow-jdbc-xcom-return' How to remove the ModuleNotFoundError: No module named 'airflow-jdbc-xcom-return' error? Thanks  
java- jdbc with type 4 driver
java- jdbc with type 4 driver  My program code is----- import... = DriverManager.getConnection("jdbc:oracle:[email protected]:1521:XE", "system", "oracle"); Statement...("jdbc:oracle:[email protected]:1521:XE", "system", "oracle"); Statement stmt
What is the advantage of hibernate over JDBC?
What is the advantage of hibernate over JDBC?  HI, What is the advantage of hibernate over JDBC? thanks
What is the advantage of hibernate over JDBC?
What is the advantage of hibernate over JDBC?  HI, What is the advantage of hibernate over JDBC? thanks
What type of programming language is Java?
What type of programming language is Java?  Hi, What type of programming language is Java? Why anyone should learn Java? What is Java and what... development. Online community support is also easily available through internet. What
What must I know before learning JDBC?
What must I know before learning JDBC?  Hi, I learned basic Java and want to learn JDBC. What must I know before learning JDBC? Thanks   ... and searching database from database. What must I know before learning JDBC? You must
What must I know before learning JDBC?
What must I know before learning JDBC?  Hi, I learned basic Java and want to learn JDBC. What must I know before learning JDBC? Thanks   ... and searching database from database. What must I know before learning JDBC? You must
What must I know before learning JDBC?
What must I know before learning JDBC?  Hi, I learned basic Java and want to learn JDBC. What must I know before learning JDBC? Thanks   ... and searching database from database. What must I know before learning JDBC? You must
What must I know before learning JDBC?
What must I know before learning JDBC?  Hi, I learned basic Java and want to learn JDBC. What must I know before learning JDBC? Thanks   ... and searching database from database. What must I know before learning JDBC? You must
Jdbc connectivity by type 4 driver
Jdbc connectivity by type 4 driver  I have done a code with database connectivity with driver 4,it copiles,but while running it is showing...=DriverManager.getConnection("jdbc:oracle:thin:@localhost:1521","system","123
jdbc
jdbc  what is the return type of BatchUpdates
Jdbc Get Column Names
Jdbc Get Column Names       The JDBC Get Column Names return you the property of the retrieved Column like its field name and data type using meta Data. Understand with Example
what type of computer memory is used for temporary storage
what type of computer memory is used for temporary storage  what type of computer memory is used for temporary storage   RAM or Random Access Memory is a computer memory that is used for temporary storage of data. RAM
what is ment by jdbc and how to connect with database?
what is ment by jdbc and how to connect with database?  i want answer for this question
hi, Everyone ,i'm learning jdbc, i got an nullpointerexception when execute this program.
hi, Everyone ,i'm learning jdbc, i got an nullpointerexception when execute...")); }catch(Exception e) { System.out.println(e); } return con... class=oracle.jdbc.driver.OracleDriver url=jdbc:oracle:thin:@localhost:1521:xe user
JDBC Training, Learn JDBC yourself
- Learn about JDBC 4.0 Here are more tutorials you can learn: What... depending on the Database up to 4 GB. It is a rich data type of JDBC. A large character data file can be stored as CLOB type. JDBC provides
jdbc
what are different type of locks  what are different type of locks   Types of locks in JDBC: Row and Key Locks:: It is useful when updating the rows (update, insert or delete operations), as they increase concurrency
JDBC
JDBC  We are using the same piece of code (irrespective of type of driver we are using) for getting the connection. On what basis you decide which type of driver you are using
type casting
type casting  what is type casting
JDBC ResultSet Scroll Sensitive Type Example
JDBC ResultSet Scroll Sensitive Type Example: Through this ResultSet type...;   String url = "jdbc:mysql://localhost:3306...;roseindia_jdbc_tutorials";       String 
JDBC Batch SQL Update Statement Example With Return Number of Effected Rows
JDBC Batch SQL Update Statement Example With Return Number of Effected Rows: In this example, we are discuss about update statement with return number... SQL statements and execute on the created statement object and store return

Ads