Using a Data Source with JDBC (Video)

Photo of Debbie Hoffman by Debbie Hoffman

JDBC is part of the Java SE specification. In this simple demo video by Rudy De Busscher, learn how to define the data source within the JDBC framework in under 8 minutes.

Using a Data Source with JDBCJDBC is considered low-level as you need to retrieve and manage connections, statements, and results-sets yourself. If you fail to close or properly manage them, you'll have errors and exceptions. JDBC requires a lot of boilerplate code but the advantage of JDBC is the control you have over your database queries.

If you want to learn how to use MySQL, PostGreSQL, or Oracle databases in Payara Server and Payara Micro, or see how to use a data source in the JPA framework, you can watch the other videos in this series specific to your database of choice as they are published. 

Data Source Tutorials

Comments