Available in versions: Dev (3.22) | Latest (3.21) | 3.20 | 3.19 | 3.18 | 3.17 | 3.16 | 3.15 | 3.14 | 3.13 | 3.12

Creating results and records in memory

Supported by ✅ Open Source Edition   ✅ Express Edition   ✅ Professional Edition   ✅ Enterprise Edition

Most of the time, a jOOQ org.jooq.Result or org.jooq.Record is produced by fetching data from a database. But both types can also be created entirely in memory, without any database interaction, using API on the DSLContext. This is useful for a variety of use-cases, including:

None of the methods described in this section require a JDBC connection. A DSLContext created from a SQLDialect only, e.g. via DSL.using(SQLDialect.POSTGRES), is sufficient.

Feedback

Do you have any feedback about this page? We'd love to hear it!

The jOOQ Logo