This version of the manual is outdated. For the latest version, follow this link: http://www.jooq.org/doc/3.0/manual.
| The jOOQ User Manual. Multiple Pages | next |
# Overview
This manual is divided into four main sections:
-
jOOQ classes and their usage
See these chapters for an overview of the jOOQ internal architecture and all types that are involved with jOOQ's query creation and execution. This is the important part for you, also, if you wish to extend jOOQ
-
Meta model code generation
See these chapters to understand how you can use jOOQ as a source code generator, and what type of artefacts are generated by jOOQ
-
DSL or fluent API. Where SQL meets Java
See these chapters to learn about how to use jOOQ in every day's work. The jOOQ DSL is the main way to create and execute jOOQ queries almost as if SQL was embedded in Java directly
-
Advanced topics
Some advanced topics including not-everyday functionality
# Table of contents
-
jOOQ classes and their usage
- The example database
- The Factory class
- Tables and Fields
- Results, Cursors and Records
- CRUD and Updatable Records
- The Query and its various subtypes
- ResultQuery and fetch() methods
- Bind values and parameters
- QueryParts and the global architecture
- Serializability of jOOQ objects
- Extend jOOQ with custom types
- Meta model code generation
-
DSL or fluent API. Where SQL meets Java
- Complete SELECT syntax
- Table sources
- Conditions
- Aliased tables and fields
- Nested SELECT using the IN operator
- Nested SELECT using the EXISTS operator
- Other types of nested SELECT
- UNION and other set operations
- Functions and aggregate operators
- Stored procedures and functions
- Arithmetic operations and concatenation
- The CASE clause
- Type casting
- When it's just easier: Plain SQL
-
Advanced topics
- Master data and enumeration tables
- Custom data types and type conversion
- Mapping generated schemata and tables
- Execute listeners and the jOOQ Console
- Adding Oracle hints to queries
- The Oracle CONNECT BY clause
- The Oracle 11g PIVOT clause
- jOOQ's relational division syntax
- Exporting to XML, CSV, JSON, HTML, Text
- Importing data from XML, CSV
- Using JDBC batch operations
| The jOOQ User Manual. Multiple Pages | next |
