Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Everything you need to know about JDBC
Rating: 4.9 out of 5(17 ratings)
1,513 students

Everything you need to know about JDBC

Connecting Java applications to an RDBMS using JDBC API
Last updated 5/2020
English

What you'll learn

  • JDBC Architecture and API
  • Setting up H2 Database
  • Connecting Java applications to an RDBMS
  • Executing SQL commands
  • Handling result of SQL SELECT statements
  • Handling auto-incrementing primary key fields

Course content

5 sections13 lectures1h 30m total length
  • Overview of JDBC4:36
  • Working of JDBC application4:22

Requirements

  • Basic knowledge of Java programming language
  • Very basic knowledge of RDBMS and SQL commands would be helpful

Description

JDBC (Java DB Connectivity) is a Java Standard API for connecting a Java application to an RDBMS. Although you may not need to use JDBC directly in any application today, it is important to understand how it works. Any modern frameworks like Hibernate or JPA which are ORM (Object-Relation-Mapper) or Mybatis which is an SQL mapper, behind the scene use JDBC.

In this class, we will be looking into the architecture of a JDBC application, connecting to a DB, executing SQL statements, and handling the results of SQL SELECT statements. We will also be learning how to setup a light weight DB called H2, with out having to install anything on our computer.

The class is completely hands-on based, so get ready to code a lot.

Who this course is for:

  • A beginner to Java programming
  • Developer looking to execute SQL commands using native Java API