Using a Data Source with JDBC (Video)

Payara

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. 

{{cta(‘5ccccd4f-d119-43d5-a97e-e1d309f46adb’,’justifycenter’)}}

Comments (0)

Post a comment

Your email address will not be published. Required fields are marked *

Payara needs the contact information you provide to us to contact you about our products and services. You may unsubscribe from these communications at any time. For information on how to unsubscribe, as well as our privacy practices and commitment to protecting your privacy, please review our Legal & Privacy Policy.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Related Posts

End of Life and End of Support Software 3 minutes
Migration

End-of-Life Technology: How to Drive Innovation Without Compromising Stability

When legacy systems approach end-of-life (EOL), enterprise IT teams typically face the choice of moving forward at all costs […]

Payara promotional graphic for Jakarta Data, featuring and illustrated server stack labeled Core, Web, Full Platform. 3 minutes
Community

Jakarta Data Makes Persistence a Breeze 

Working with enterprise Java databases can sometimes feel like swimming upstream. Jakarta EE 11’s Jakarta Data helps developers glide […]

payara qube logo 5 minutes
Payara

Payara Cloud Is Now part of Payara Qube family of Unified Platforms for Enterprise Java

Payara Cloud is becoming part of Payara Qube family of Java application deployment runtimes. This move reflects how the […]