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

This documentation is for the unreleased development version of jOOQ. Click on the above version links to get this documentation for a supported version of jOOQ.

StatelessSession

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

JPA is mainly used for its stateful EntityManager, which offers access to caches, but recent JPA specification versions as well as implementations have supported a StatelessSession, which allows for fetching entities that aren't being tracked.

Since jOOQ does not have any concept of a session, similar to not having caches, this is not a useful concept in jOOQ as any interaction with the database is stateless, including the UpdatableRecord, which does track changes, but isn't itself being tracked by some global session.

Feedback

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

The jOOQ Logo