Open lukaseder opened 5 years ago
AbstractDMLQuery
still needs quite the refactoring to make this possible. The more important problem is that fetchOne()
doesn't use lazy execution, but eagerly fetches all rows into memory, see: https://github.com/jOOQ/jOOQ/issues/11968.
This isn't trivial to fix...
This should be fixed automatically with https://github.com/jOOQ/jOOQ/issues/15157
Just as with #8877, the various
fetchOne()
methods on DMLRETURNING
clauses do not properly call backExecuteListener.exception()
events in case there is aTooManyRowsException
.Unlike #8877, this is rather difficult to fix, which is why there's a separate issue.
Also affected (will possibly be fixed in a different issue):
UpdatableRecord.fetchChild()
andUpdatableRecord.fetchParent()