mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-18 14:58:47 +00:00
ChangeSet - add size() method
This commit is contained in:
1 parent
1437843f08
commit
ba39897b18
1 file changed
+7
@@ -68,6 +68,13 @@ public class ChangeSet {
|
||||
return "txnId:" + txnId + " txnState:" + txnState + " txnBatch:" + txnBatch;
|
||||
}
|
||||
|
||||
/**
|
||||
* Return the number of changes in the change set.
|
||||
*/
|
||||
public int size() {
|
||||
return changes.size();
|
||||
}
|
||||
|
||||
/**
|
||||
* Add a bean change to the change set.
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user