Skip to content

A maven project demonstrating basic JDBC interaction with a database.

Notifications You must be signed in to change notification settings

spankr/tutorial-jdbc-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Basic Database Access with Java (JDBC)

Learning what a wizard does before actually using the wizard to perform work for you is the best approach. Java has a ton of different tools/wizards out there that simplify your life by hiding database access from you.

This Maven project just uses the basics to establish a database connection and then access the database in a simple, yet clean way.

The start of this example is the TestSampleDAO test case. It instantiates the database connection and then the data access object that interacts with the connection.

It uses:

  • HyperSQL, for the in-memory database we are connecting to
  • SLF4J, for logging purposes

About

A maven project demonstrating basic JDBC interaction with a database.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages