JDBC Tutorials

What is JDBC?

  • 2007-03-15
  • Comments
  • Sun
  • 877

The JDBC API is a Java API that can access any kind of tabular data, especially data stored in a Relational Database.
Read More

JDBC Architecture

  • 2007-03-15
  • Comments
  • Sun
  • 877

The JDBC API supports both two-tier and three-tier processing models for database access.
Read More

JDBC Components

  • 2007-03-15
  • Comments
  • Sun
  • 878

JDBC includes four components: The JDBC API, JDBC Driver Manager, JDBC Test Suite, JDBC-ODBC Bridge
Read More

JDBC Basics and JDBC Components

  • 2007-10-12
  • Comments
  • Henry
  • 877

This short code fragment instantiates a DriverManager object to connect to a database driver and log into the database, instantiates a Statement object that carries your SQL language query to the database; instantiates a ResultSet object that retrieves the results of your query, and executes a simple while loop, which retrieves and displays those results. It's that simple.
Read More

A simple JDBC application sample code

  • 2007-04-04
  • Comments
  • Ramlak
  • 877

The basic process for a single data retrieval operation using JDBC would be as follows
Read More

How connection pooling works in Java and JDBC

  • 2007-04-04
  • Comments
  • Ramlak
  • 877

Connection pooling has become the standard for middleware database drivers. The process of creating a connection, always an expensive, time-consuming operation, is multiplied in these environments where a large number of users are accessing the database in short, unconnected operations. Creating connections over and over in these environments is simply too expensive.
Read More

Using JDBC to connect to MySQL from Java Program

  • 2006-12-11
  • Comments
  • Rajan
  • 878

This sample Java program connects to MySQL database using JDBC, executes a query and retrieves and prints the value of the database field.
Read More

Most Viewed Articles on JDBC

Latest Tutorials

Subscribe to Tutorials

Related Tutorials

TEXT datatype SPLIT in MSSQL - to solve the 8000 limit set by varchar

Import TEXT to TABLE in MSSQL

What is Referential Integrity in databases?

Handling CSV in Stored Procedures

setSavepoint and releaseSavepoint Example in Java

Calling a Stored Procedure from JDBC in Java

java.lang.NoClassDefFoundError and java.lang.NoSuchMethodError

Creating Database Connection Pool in Tomcat 5.0 and Tomcat 5.5 for MySQL and Java

JDBC Basics and JDBC Components

SELECT Statements

WHERE Clauses in SQL

Joins example in SQL

Common SQL Commands

Result Sets, Cursors and Transactions in SQL

Stored Procedures example in SQL

Archived Comments

1. Thanks. What datatype can we give to a variable St
View Tutorial          By: Bafokeng Lebesa at 2012-11-27 12:35:40

2. I used HyperTerminal directly to check whether mod
View Tutorial          By: Pugal at 2009-10-15 03:38:08

3. HOW TO SET PASSWORD IN JAVA.....
View Tutorial          By: NAKUL at 2012-12-14 05:23:16

4. "If you enter zero, the assert() macro forces
View Tutorial          By: czx at 2010-09-17 07:23:20

5. It's very helpful to me... Thanks...
View Tutorial          By: Nicks Patel at 2010-03-24 23:37:04

6. Nice info. I must say about this post.
than

View Tutorial          By: Ganesh Prasad at 2012-10-30 05:51:49

7. Guys, txtWeb is back with their National Level Dev
View Tutorial          By: rahul.del at 2012-08-16 10:01:09

8. i m new in java plz send package of simple program
View Tutorial          By: iqbal ahmad at 2009-09-07 01:26:41

9. How would you use a switch statement to determine
View Tutorial          By: Shivak at 2013-09-27 01:48:41

10. Thanks Man , You are Genius i have been looking fo
View Tutorial          By: hamza Ouni at 2015-02-22 13:38:02