Posted in JDBC on November 3, 2008 | Leave a Comment »
JDBC technology drivers fit into one of four categories:
A JDBC-ODBC bridge provides JDBC API access via one or more ODBC drivers. Note that some ODBC native code and in many cases native database client code must be loaded on each client machine that uses this type of driver. Hence, this kind of driver is [...]
Read Full Post »
Posted in JDBC on February 7, 2008 | 2 Comments »
A Statement object is used to send SQL statements to a database. It will act as containers for executing SQL statements on a given connection.
There are three kinds of Statement objects.
1. Statement
2. PreparedStatement
It inherits from Statement.
3. CallableStatement
It inherits from PreparedStatement.
Statement :
A Statement object is used to execute a simple SQL statement with no parameters The [...]
Read Full Post »
Posted in JDBC on February 1, 2008 | 4 Comments »
First of all we have to know what is JDBC
What is JDBC?
JDBC is a piece of software that knows how to talk to the actual database server. JDBC is a registered trade mark.
Steps for JDBC
There are seven standard steps in querying databases:
Load the JDBC driver.
Define the connection URL.
Establish the connection.
Create a statement object.
Execute a query [...]
Read Full Post »