Another oversight.

This commit is contained in:
Greg Burd 2017-09-13 15:08:50 -04:00
parent 9e3fabb2f9
commit 8c165a689b
2 changed files with 2 additions and 2 deletions

View file

@ -5,7 +5,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>net.helenus</groupId>
<artifactId>helenus-core</artifactId>
<version>2.0.33-SNAPSHOT</version>
<version>2.0.34-SNAPSHOT</version>
<packaging>jar</packaging>
<name>helenus</name>

View file

@ -174,7 +174,7 @@ public final class HelenusSession extends AbstractSessionOperations implements C
public synchronized <T extends Exception> UnitOfWork<T> begin() { return new UnitOfWork<T>(this, null).begin(); }
public synchronized UnitOfWork begin(UnitOfWork parent) {
public synchronized <T extends Exception> UnitOfWork<T> begin(UnitOfWork<T> parent) {
UnitOfWork child = new UnitOfWork(this, parent);
parent.addNestedUnitOfWork(child);
return child.begin();