mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
FIX: potential NPE - manager can be null - eg when creted with new ExternalJdbcTransaction(conn) (#979)
This commit is contained in:
committed by
Rob Bygrave
parent
ca777d7967
commit
7632910027
@@ -255,7 +255,9 @@ public class JdbcTransaction implements SpiTransaction {
|
||||
|
||||
@Override
|
||||
public void sendChangeLog(ChangeSet changesRequest) {
|
||||
manager.sendChangeLog(changesRequest);
|
||||
if (manager != null) {
|
||||
manager.sendChangeLog(changesRequest);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user