April 2018
Intermediate to advanced
202 pages
4h 48m
English
You can use jOOQ with any connection pool you prefer. The example for this section uses the same approach we used with plain JDBC, so the connection properties can be defined in a datasource.properties file:
datasource.url=jdbc:h2:tcp://localhost/~/h2-databases/demodatasource.username=sadatasource.password=
At this point, you should be familiar with how to use a ServletContextListener to initialize a database connection pool. Let's omit that part (see the section about JDBC for details) and jump directly to more specific topics.
Read now
Unlock full access