mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-19 23:02:24 +00:00
CockroachDB - Modify tests, use BigDecimal over Double etc
This commit is contained in:
1 parent
daf0ba67a4
commit
b3f110b7a5
12 files changed
+30
-25
No files matched your search
@@ -13,6 +13,7 @@ import org.tests.model.basic.ResetBasicData;
|
||||
import org.tests.model.tevent.TEventMany;
|
||||
import org.tests.model.tevent.TEventOne;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.sql.Timestamp;
|
||||
import java.time.Instant;
|
||||
import java.util.List;
|
||||
@@ -53,7 +54,7 @@ public class TestAggregationCount extends BaseTestCase {
|
||||
for (TEventOne eventOne : list) {
|
||||
// lazy loading on Aggregation properties
|
||||
// is not expected to work at this stage
|
||||
Double totalAmount = eventOne.getTotalAmount();
|
||||
BigDecimal totalAmount = eventOne.getTotalAmount();
|
||||
assertThat(totalAmount).isNull();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user