Skip to content

Commit 1680146

Browse files
committed
Add isReadonly method
1 parent 1a600ab commit 1680146

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ebean-datasource/src/main/java/io/ebean/datasource/pool/ConnectionPool.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -705,6 +705,10 @@ public boolean isAutoCommit() {
705705
return autoCommit;
706706
}
707707

708+
public boolean isReadOnly() {
709+
return readOnly;
710+
}
711+
708712
int transactionIsolation() {
709713
return transactionIsolation;
710714
}

0 commit comments

Comments
 (0)