Forgot to add type to begin() call in HelenusSession.
This commit is contained in:
parent
90e1aafd94
commit
9e3fabb2f9
2 changed files with 2 additions and 4 deletions
2
pom.xml
2
pom.xml
|
@ -5,7 +5,7 @@
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<groupId>net.helenus</groupId>
|
<groupId>net.helenus</groupId>
|
||||||
<artifactId>helenus-core</artifactId>
|
<artifactId>helenus-core</artifactId>
|
||||||
<version>2.0.32-SNAPSHOT</version>
|
<version>2.0.33-SNAPSHOT</version>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
|
|
||||||
<name>helenus</name>
|
<name>helenus</name>
|
||||||
|
|
|
@ -172,9 +172,7 @@ public final class HelenusSession extends AbstractSessionOperations implements C
|
||||||
return metadata;
|
return metadata;
|
||||||
}
|
}
|
||||||
|
|
||||||
public synchronized UnitOfWork begin() {
|
public synchronized <T extends Exception> UnitOfWork<T> begin() { return new UnitOfWork<T>(this, null).begin(); }
|
||||||
return new UnitOfWork(this, null).begin();
|
|
||||||
}
|
|
||||||
|
|
||||||
public synchronized UnitOfWork begin(UnitOfWork parent) {
|
public synchronized UnitOfWork begin(UnitOfWork parent) {
|
||||||
UnitOfWork child = new UnitOfWork(this, parent);
|
UnitOfWork child = new UnitOfWork(this, parent);
|
||||||
|
|
Loading…
Reference in a new issue