/jdbc-example

Pure and spring JDBC example

Primary LanguageJava

JDBC EXAMPLE (PURE AND SPRING)

There are 2 branches:

  • simple focuses on most common jdbc usage patterns, places that can be improved are commented
  • improved contains possible improvements over simple example

Start with UserDAO interface.

There are 2 implementations of UserDAO:

See:

To run Main class you need Postgresql installed. After installation run prepare-db-as-postgres.sh to create tables and users.