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
CRUD: Refresh
Supported by ✅ Open Source Edition ✅ Express Edition ✅ Professional Edition ✅ Enterprise Edition
An org.jooq.UpdatableRecord can be refreshed in case its client state is no longer in sync with the database state.
// Get a book BookRecord book = create.fetchOne(BOOK, BOOK.ID.eq(id)); // Refresh the record: SELECT * FROM BOOK WHERE ID = :id; book.refresh();
Feedback
Do you have any feedback about this page? We'd love to hear it!