Allow subclasses access to the session.
This commit is contained in:
parent
654f4434bf
commit
9d94e865b6
1 changed files with 2 additions and 2 deletions
|
@ -53,11 +53,11 @@ public class UnitOfWork implements AutoCloseable {
|
||||||
private static final Pattern classNameRegex =
|
private static final Pattern classNameRegex =
|
||||||
Pattern.compile("^(?:\\w+\\.)+(?:(\\w+)|(\\w+)\\$.*)$");
|
Pattern.compile("^(?:\\w+\\.)+(?:(\\w+)|(\\w+)\\$.*)$");
|
||||||
|
|
||||||
private final List<UnitOfWork> nested = new ArrayList<>();
|
|
||||||
private final HelenusSession session;
|
|
||||||
public final UnitOfWork parent;
|
public final UnitOfWork parent;
|
||||||
|
private final List<UnitOfWork> nested = new ArrayList<>();
|
||||||
private final Table<String, String, Either<Object, List<Facet>>> cache = HashBasedTable.create();
|
private final Table<String, String, Either<Object, List<Facet>>> cache = HashBasedTable.create();
|
||||||
private final MapCache<String, Object> statementCache;
|
private final MapCache<String, Object> statementCache;
|
||||||
|
protected final HelenusSession session;
|
||||||
protected String purpose;
|
protected String purpose;
|
||||||
protected List<String> nestedPurposes = new ArrayList<String>();
|
protected List<String> nestedPurposes = new ArrayList<String>();
|
||||||
protected String info;
|
protected String info;
|
||||||
|
|
Loading…
Reference in a new issue