rob bygrave
4e1f817ade
#1617 - save() on a reference bean causes insert to occur ... results in duplicate key exception
...
Tests that reproduce the issue (supplied by Andre - thanks for that)
2019-01-22 21:54:03 +13:00
rob bygrave
cc17ea8911
No effective change - improve tests for TestAggregationTopLevel
2019-01-22 20:26:50 +13:00
rob bygrave
9dbd903a73
No effective change - Update tests for aggregation queries
2019-01-22 15:53:47 +13:00
rob bygrave
b8105190d1
#1615 - findNative() with List/array named parameter throws error ... query plan key doesn't take bind count into account
2019-01-22 01:56:58 +13:00
rob bygrave
1d49e5b341
#1613 - When using transaction.setPersistCascade(false) ... a Delete query should not cascade
2019-01-21 22:09:15 +13:00
rob bygrave
4a0806e453
#1612 - query.setMapKey("customer.id") throws NullPointerException (ie. mapKey is a path rather than local property)
2019-01-21 21:57:30 +13:00
rob bygrave
471691c747
#1611 - ENH: Add inRange expression (as half open expression) ... (property >= lowerValue and property < upperValue)
2019-01-21 20:01:57 +13:00
rob bygrave
c86e6b3cf9
#1610 - Refactor: Change SQL logging such that jdbc batch use is more obvious
2019-01-21 19:31:28 +13:00
André Camilo and Rob Bygrave
bac53a5d75
FIX: insert in batch OneToOne relationship ( #1609 )
2019-01-15 11:56:52 +13:00
Rob Bygrave and GitHub
6b27a9d280
Support @ManyToOne inside @Embeddables - fix for #52 ( #1608 )
...
* #52 - @ManyToOne support inside @Embeddables
Initial test and work
* #52 - @ManyToOne support inside @Embeddables
Initial test and work
* #52 - @ManyToOne support inside @Embeddables
Initial test and work
* #52 - @ManyToOne support inside @Embeddables
Initial test and work
* #52 - @ManyToOne support inside @Embeddables
Initial test and work
* #52 - @ManyToOne support inside @Embeddables
Initial test and work
* #52 - @ManyToOne support inside @Embeddables
Update test with sql capture
* #52 - @ManyToOne support inside @Embeddables
Update test with cache clearing before hand (such that we hit DB on lazy load)
2019-01-10 03:40:02 +13:00
rob bygrave
2b0669c2ae
#1594 - Support loading of beans with invalid JSON content
...
Adjust to be per query via query.setAllowLoadErrors() rather than a
global config via ServerConfig.
2019-01-09 20:03:26 +13:00
rob bygrave
fb5eb0cdd2
Merge branch 'feature/load-error' of https://github.com/FOCONIS/ebean into FOCONIS-feature/load-error
2019-01-09 19:25:50 +13:00
rob bygrave
3351882915
#1602 - Adjust test adding sql checking for discriminator
2019-01-09 19:20:05 +13:00
Roland Praml and Rob Bygrave
31c6d16e73
A query on inherited beans can be restricted to the subtype of one of its children ( #1602 )
...
ENH: A query on inherited beans can be restricted to the subtype of one of its children
2019-01-09 19:15:04 +13:00
rob bygrave
cd8c12a9a8
#1566 - ENH: Support query.setBaseTable() ... to query against dynamic table (ala manual table partitioning)
2019-01-09 19:13:35 +13:00
rob bygrave
3207ae1f08
No effective change - tidy test
2019-01-09 19:05:16 +13:00
Roland Praml and Rob Bygrave
5fe532c393
Refactor: relpaced system-property "ebean.ignoreExtraDdl" with serverConfig flag ( #1597 )
2019-01-09 16:17:11 +13:00
rob bygrave
8a34d6050b
#1607 - ENH: Add query.exists() query ... as a convenience for "does a row exist" check
2019-01-09 13:59:53 +13:00
rob bygrave
8544712448
#1606 - Bean with Inheritance and OneToMany with JoinTable and cascade ... doesn't cascade save on all bean types
2019-01-09 12:29:28 +13:00
Roland Praml and Rob Bygrave
b18bc82b8a
FIX: possible NPE in DeleteUnloadedForeignKeys.deleteCascade and in initPostTarget ( #1601 )
2019-01-08 22:41:43 +13:00
Roland Praml and Rob Bygrave
50de32af29
Fixed tests, if SqlServer has "Latin1_General_100_BIN2" collation. ( #1600 )
...
This means, all names are interpreted case sensitive by the db
2019-01-08 22:40:14 +13:00
Roland Praml and Rob Bygrave
7ed4435ccc
Fix some testcases fof MySql/SqlServer ( #1591 )
...
* FIX testcases for MariaDB+utf8mb4 (Failure was: "Specified key was too long; max key length is 767 bytes")
* Excluded tests that won't work on SqlServers generated ids
2019-01-08 22:13:55 +13:00
rob bygrave
7aef4ff1bd
#1605 - RuntimeException: Nothing in batch? ... when lazy loading on partially populated L2 bean cache
2019-01-08 21:44:18 +13:00
rob bygrave
5bcad17ae1
No effective change - add a test for filterMany with isNotEmpty()
2019-01-08 16:50:28 +13:00
rob bygrave
b1beb0b787
#1596 - NullPointerException at findOne() with filterMany()
2019-01-07 22:21:54 +13:00
Roland Praml
4d93b70bf9
Supports loading of corrupt beans
2019-01-03 11:43:50 +01:00
rob bygrave
82def2710e
No effective change - adjust test to have at least 1 column on insert
2018-12-21 15:51:09 +13:00
rob bygrave
60ad417e1b
No effective change - adjust test to have at least 1 column on insert
2018-12-21 15:21:01 +13:00
rob bygrave
60c8683914
No effective change - test assert to contains rather than containsExactly
2018-12-21 14:29:50 +13:00
rob bygrave
72263c0af0
No effective change - test assert to contains rather than containsExactly
2018-12-21 13:57:00 +13:00
rob bygrave
f66316138d
#1584 - Fix for - Query cache bug, which produces wrong results
2018-12-21 13:53:05 +13:00
Roland Praml and Rob Bygrave
b403942491
Query cache bug, which produces wrong results ( #1584 )
2018-12-21 11:55:07 +13:00
Rob Bygrave and GitHub
94591954b3
1476 - Query plan capture, initial wip capturing bind params ( #1477 )
...
* 1476 - Query plan capture, initial wip capturing bind params
* No effective change - Reset test default db to H2
* #1476 - Query plan capture, initial wip capturing bind params #1477
Update with consumer
* #1476 - Query plan capture, initial wip capturing bind params #1477
Update with query plan request
* #1476 - Query plan capture, initial wip capturing bind params #1477
Extract interface
* #1476 - Query plan capture, initial wip capturing bind params #1477
Extract interface
2018-12-19 16:04:28 +13:00
rob bygrave
7d35789db4
#1573 - Incorrect CamelCase conversion when number proceeds uppercase letter
2018-12-16 16:12:34 +13:00
rob bygrave
d266d6d440
#1574 - "NullPointerException" in query.copy().findList() but not in query.findList()
2018-12-16 00:29:18 +13:00
rob bygrave
bafba0babf
#1572 - Support query.select("customer.id").findSingleAttributeList() ... in addition to the expected and working select("customer").findSingleAttributeList()
2018-12-06 00:15:06 +13:00
rob bygrave
e4088c5fbe
#1571 - NPE in cacheable bean with embeddedid on delete
2018-12-05 23:03:15 +13:00
Rien and Rob Bygrave
0405ceb96c
NPE in cacheable bean with embeddedid on delete ( #1570 )
2018-12-05 21:49:27 +13:00
rob bygrave
e876ef8d87
#1559 - @Lob with @ElementCollection
2018-12-03 21:07:33 +13:00
rob bygrave
315b39813b
#1568 - @OneToMany with orphanRemoval=true ... with @Cache (and not a @ManyToOne) doesn't remove orphans after cache hit
2018-11-30 23:46:11 +13:00
rob bygrave
6d5e0c4766
Add test only - Add test for L2 cache with orphanRemoval
2018-11-30 23:41:23 +13:00
rob bygrave
a2ce17aec0
Add test only - Add test for L2 cache with orphanRemoval
2018-11-30 22:42:36 +13:00
rob bygrave
fcffa92c55
#1567 - SqlUpdate addBatch() ... with named parameters errors with PersistenceException: No batched statement found for key
2018-11-30 21:47:23 +13:00
rob bygrave
70e2b1c2ae
#1562 - Query cache use incorrect with RawExpression - incorrect bind hash
2018-11-29 09:54:24 +13:00
rob bygrave
ba16cea405
#1556 - Query.setDisableLazyLoading(true) not working on @OneToMany Set (but does on List)
2018-11-23 12:20:18 +13:00
rob bygrave
83776a1eae
#1552 - Remove deprecated methods on Transaction setBatch(PersistBatch) .. migrate to setBatchMode(boolean)
2018-11-19 23:36:15 +13:00
Roland Praml and Rob Bygrave
4fe2016891
new comparison method Ine (caseInsensitive notEquals) ( #1551 )
2018-11-19 22:22:46 +13:00
rob bygrave
55e4c7bc26
#1548 add global configuration disableLazyLoading
...
Fix tests
2018-11-19 22:03:51 +13:00
ooknight and Rob Bygrave
b3584a81b4
add global configuration disableLazyLoading ( #1548 )
2018-11-19 21:45:05 +13:00
rob bygrave
c074b7c457
#1547 - Revert for - FIX for the limit query #1540
2018-11-14 09:29:36 +13:00