FunctionalInterface that wraps transactional code.
- *
- * @author Lukas Eder
- */
-public interface Transactional
- * If this method completes normally, and this is not a nested transaction,
- * then the transaction will be committed. If this method completes with an
- * exception, then the transaction is rolled back to the beginning of this
- * Transactional.
- *
- * @param configuration The Configuration in whose context the
- * transaction is run.
- * @return The outcome of the transaction.
- * @throws Exception Any exception that will cause a rollback of the code
- * contained in this transaction. If this is a nested
- * transaction, the rollback may be performed only to the state
- * before executing this Transactional.
- */
- T run(Configuration configuration) throws Exception;
-}
diff --git a/jOOQ/src/main/java/org/jooq/impl/AbstractRecord.java b/jOOQ/src/main/java/org/jooq/impl/AbstractRecord.java
index 5775dfa739..a047d1e136 100644
--- a/jOOQ/src/main/java/org/jooq/impl/AbstractRecord.java
+++ b/jOOQ/src/main/java/org/jooq/impl/AbstractRecord.java
@@ -91,7 +91,7 @@ abstract class AbstractRecord extends AbstractStore implements Record {
final Object[] values;
final Object[] originals;
final BitSet changed;
- // final BitSet def;
+ boolean fetched;
AbstractRecord(Collection extends Field>> fields) {
this(new RowImpl(fields));
@@ -108,7 +108,6 @@ abstract class AbstractRecord extends AbstractStore implements Record {
this.values = new Object[size];
this.originals = new Object[size];
this.changed = new BitSet(size);
- // this.def = new BitSet(size);
}
// ------------------------------------------------------------------------
@@ -299,9 +298,10 @@ abstract class AbstractRecord extends AbstractStore implements Record {
private final