Skip to content

8kdata/javapostgres

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PostgreSQL and Java training

This repository contains the source code of the examples and code demos included in some of the "PostgreSQL and Java" trainings that 8Kdata delivers.

Java source code

Included in the java directory are some maven-ized Java projects:

  • helloJDBC: an iterative approach to JDBC, where a simple example is improved across several executable programs, adding better JDBC constructs and Java best-practices
  • hellojOOQ: a simple project to show how to take back control of your SQL with jOOQ
  • helloMyBatis: a simple project to show how to use the MyBatis mapper
  • helloProcessBuilder: connect to PostgreSQL via the stdin
  • helloPool: a simple project to show how to use of connection pool with HikariCP and FlexyiPool
  • helloPLJava: call Java from inside of PostgreSQL via PL/Java

Example database

Included in the db directory is an example database used by the projects in the java folder. This database is derived from the PgFoundry Sample Databases world database.

Releases

No releases published

Packages

No packages published