Home Answers Viewqa Java-Beginners What is the return type of execute mehtod in jdbc

 
 


Rajendra
What is the return type of execute mehtod in jdbc
1 Answer(s)      4 years and 3 months ago
Posted in : Java Beginners

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









Related Pages:
What is the return type of execute mehtod in jdbc - Java Beginners
What is the return type of execute mehtod in jdbc  Hi Deepak, u.... " String s="raja" , Here return type of s is string. My interview asked wat is return type of execute() in jdbc . should
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
Interview question - JDBC
Interview question   Hi Friends, What is the return type of execute mehtod in jdbc .Thanks  Hi Rajendra, Whatever it may be the statement type, like java.sql.Statement
steps required to execute a query in JDBC
steps required to execute a query in JDBC  What are the steps required to execute a query in JDBC
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
jdbc
jdbc  what is the return type of BatchUpdates
fastest type of JDBC driver
fastest type of JDBC driver  What is the fastest type of JDBC driver
Java JDBC
Java JDBC  what is the return type for execute Query () method
Fastest type of JDBC Driver
Fastest type of JDBC Driver  hello, What is the fastest type of JDBC driver?   hii, Type 4 is the fastest JDBC driver
java method return type : - Java Beginners
java method return type :  i have one question regarding methods,,, if we create a method with return type as class name (public employee addemp(int,int))what should be its return type.....and if any know this pls explain
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
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
type 4 drivers - JDBC
type 4 drivers  Hi! What is the syntax for Type - 4 drivers. give me any sample code. Thanks in advance..  Hi Friend, Please visit the following link: http://www.roseindia.net/jdbc/jdbc-driver-and-its
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
jdbc - JDBC
jdbc  what is the return type for Class.forname("Driver class name");  Hi Friend, The return type of the Class.forName (String ClassName) method is "Class". Class is a class in java.lang package. Thanks
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
java- jdbc with type 4 driver
java- jdbc with type 4 driver  My program code is----- import... = DriverManager.getConnection("jdbc:oracle:thin@localhost:1521:XE", "system", "oracle"); Statement...("jdbc:oracle:thin@localhost:1521:XE", "system", "oracle"); Statement stmt
What is ODBC - JDBC
What is ODBC  What is Java ODBC and JDBC?   Method of type.... | JDBC Driver... concept. In this case calls to data base are first received by JDBC
Java error missing return statement
'operation( )'that return you an int type and this method include a  for loop..., then you must specify the return type in it. The given below code is missing a return statement in the non-void method so, whenever the compiler execute the code
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
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
Java JDBC
Java JDBC  what is the return type for get Connection () method
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  Q)How you define out param in Stored Procedure and what is the data type defined for OUT Param in Stored Procedure? Q)You have one Stored Procedure. In that Procedure When you run the Procedure you got one exception. You
What is JDBC?
What is JDBC?  What is JDBC
MS Access - JDBC
when i execute the code what you have given is giving some errors... the error...("sun.jdbc.odbc.JdbcOdbcDriver"); Connection con = DriverManager.getConnection("jdbc:odbc:db1... where loginid ='" + loginid + "' and type='"+type+"'"; ResultSet rs
Program compiles but won't execute - Java Beginners
with a class Employee and then write a driver class to run it. This is what I have so far for the Employee class(it compiles but does not execute); public class...() { return salary; } public Name getName() { return
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 is JDBC?
What is JDBC?  hello, What is JDBC?   hello, JDBC... data sources, such as spreadsheets or flat files. With a JDBC technology-enabled...   Hi, JDBC stands for Java Database Connectivity. It is a set of API
how to execute the below servlet with html page
how to execute the below servlet with html page  //vallidate user n...-param> <param-name>url</param-name> <param-value> jdbc...;<Input Type="text" name="uname"></td> </tr> <tr>
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
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 - JDBC
.   2. Code pstatement.executeUpdate() return int type if updateQuery return value greater then zero then record inserted
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
query in JDBC
query in JDBC  What are the steps required to execute a query in JDBC
What is JDBC?
What is JDBC?       JDBC is Java application programming interface that allows the Java... Connectivity in short called as JDBC. It is a java API which enables the java
What type of inheritance that php supports?
What type of inheritance that php supports?  What type of inheritance that php supports
use of return statement
use of return statement  what is the use of return statement
What is JDBC Driver ?
What is JDBC Driver ?  What is JDBC Driver
what are the steps in jdbc?
what are the steps in jdbc?  what are the steps in jdbc
use JDBC to execute non-standard features that my DBMS provides.
use JDBC to execute non-standard features that my DBMS provides.  Can I use JDBC to execute non-standard features that my DBMS provides
Java JDBC
Java JDBC  What is the fastest type of JDBC driver
Jdbc statements
Jdbc statements  what type of a method is get Connection
JDBC Architecture
database or during connectivity. JDBC Driver's Type JDBC Driver can be broadly categorized into 4 categories-- JDBC-ODBC BRIDGE DRIVER(TYPE 1)  Converted the query of JDBC Driver into the ODBC query, which in return pass
JDBC CONNECTIVITY - JDBC
JDBC CONNECTIVITY  String jclass="sun.jdbc.odbc.JdbcOdbcDriver"; Class.forName(jclass); String dsn= "Jdbc:Odbc:Employee"; Connection con... = con.prepareStatement("insert into detail values(?,?,?,?)"); I am a bigner in Jdbc so please tell
Java JDBC
Java JDBC  What is the difference between executeQuery () and execute
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 interview question
what is the difference between resultset and rowset?  what... it? can you explain connection factory class? what is databasemetadata... the data from your query as soon as you run the execute() method. 2)ResultSet
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

Ask Questions?

If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.

Ask your questions, our development team will try to give answers to your questions.