File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
src/main/java/act/db/ebean Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 1818********************************************
1919* version history
2020********************************************
21+ 0.6.0 - update act to 0.6.0
21220.5.0 - upgrade to act 0.5.0 (to reserve 0.4.0 for techempower test)
22230.4.0 - upgrade to act 0.4.0
23240.3.1 - upgrade to act 0.3.1
3536 <groupId >org.actframework</groupId >
3637 <artifactId >act-ebean</artifactId >
3738 <packaging >jar</packaging >
38- <version >0.5 .0-SNAPSHOT</version >
39+ <version >0.6 .0-SNAPSHOT</version >
3940
4041 <name >ACT Ebean</name >
4142 <description >The Ebean Plugin for Actframework SQL database access</description >
4546 <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
4647 <project .reporting.outputEncoding>UTF-8</project .reporting.outputEncoding>
4748 <git .url>git@github.com:actframework/act-ebean.git</git .url>
48- <act .version>0.5 .0-SNAPSHOT</act .version>
49+ <act .version>0.6 .0-SNAPSHOT</act .version>
4950 <ebean .version>8.8.1</ebean .version>
5051 <ebean-agent .version>8.1.1</ebean-agent .version>
5152 <ebean-agent-loader .version>2.1.2</ebean-agent-loader .version>
Original file line number Diff line number Diff line change @@ -203,10 +203,10 @@ public MODEL_TYPE save(Transaction tx, MODEL_TYPE entity) {
203203 }
204204
205205 @ Override
206- public void save (Iterable <MODEL_TYPE > iterable ) {
206+ public List < MODEL_TYPE > save (Iterable <MODEL_TYPE > iterable ) {
207207 List <MODEL_TYPE > list = C .list (iterable );
208208 if (list .isEmpty ()) {
209- return ;
209+ return list ;
210210 }
211211 Transaction transaction = ebean ().createTransaction (TxIsolation .READ_COMMITED );
212212 transaction .setBatchMode (true );
@@ -220,6 +220,7 @@ public void save(Iterable<MODEL_TYPE> iterable) {
220220 } finally {
221221 transaction .end ();
222222 }
223+ return list ;
223224 }
224225
225226 public void save (Transaction tx , Iterable <MODEL_TYPE > iterable ) {
You can’t perform that action at this time.
0 commit comments