rob bygrave
6f1472abe0
#2000 - Tests only - bump sql server to 2019-GA-ubuntu-16.04
2020-04-28 22:13:57 +12:00
Jonas Pöhler (JPo)
f194fdb132
ADD: failing testcase for @OrderColumn working when referencing the parent of a inheritance structure
2020-04-06 16:08:21 +02:00
rob bygrave
f7359aacd7
No effective change - update tests for oracle ddl
2020-03-17 22:25:52 +13:00
rob bygrave
48abc73e50
#1973 - L2Cache, Inheritance and Lazy-Loading loads the parent Class not the Child
2020-03-10 22:52:13 +13:00
rob bygrave
de42655bbd
Refactor tests using assertSql() helper method
...
This helper method trims column alias from the sql (for Oracle)
2020-02-20 15:08:43 +13:00
rob bygrave
168dacffa7
Deprecate orderBy() migrate to order()
2020-02-18 23:27:43 +13:00
rob bygrave
8feb100ac6
#1938 - API consistency add setParameters(varargs) & setParameter() - migrate from setNextParameter() and setParams()
2020-02-15 02:01:02 +13:00
rob bygrave
7a974320ed
#1846 - Test for - Inheritance cascade of fields with bean inheritance
...
Note this includes the workaround RootBean.preRemove(), so doesn't fail
2019-10-18 16:20:38 +13:00
rob bygrave
dac55ab8e9
#1847 - Delete bean with ManyToMany to always delete from intersection (not required cascade REMOVE)
2019-10-18 15:35:21 +13:00
rob bygrave
f24b4dba71
#1837 ( #1740 and #1744 ) - Inheritance on both sides of @ManyToOne
...
This change also relates back to #1740 and #1744 and changes the way that issue was fixed (by SqlTreeNodeBean on partially populated non-id inheritance bean).
2019-10-13 11:46:11 +13:00
Rob Bygrave and GitHub
a474880735
#1837 - Inheritance on both sides of @ManyToOne confuses columns ( #1843 )
...
* #1837 - Inheritance on both sides of @ManyToOne confuses columns
* #1837 - Inheritance on both sides of @ManyToOne confuses columns
Tidy up whitespace in SQL
2019-10-12 00:25:53 +13:00
rob bygrave
1c6c812d4d
Update tests change AssertJ StrictAssertions to Assertions
2019-10-06 16:34:44 +13:00
rob bygrave
f0bc4c786c
#1826 - Remove PrivateOwned, migrate to orphanRemoval=true attribute on OneToMany
2019-09-24 22:36:17 +12: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 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
Roland Praml and Rob Bygrave
808004165c
Code cleanup ( #1534 )
...
* removed unused imports (no code change)
* Add missing @Override / @SupressWarnings (no code change)
* FIX: serialization warnings
* FIX: Access to static member
2018-11-10 20:07:01 +13:00
rob bygrave
21e87e12cb
Adjust test for #1391 ... such that OrganizationTreeNode has at least one db column as part of insert (for PG)
2018-05-29 13:38:17 +12:00
chrishartl and Roland Praml
bccb9f8ddb
Fix/create reference with descriptor using inheritance ( #13 )
...
* FIXED: Discriminator must be ask for inherited classes
* Fixed: Compile
* Refactoring and Testing
2018-05-28 16:54:53 +02:00
Roland Praml and Rob Bygrave
ab301f970c
FIX: correct caching when collection with different inherited beans is put to the cache ( #1379 )
...
* FIX: correct cahcing when collection with different inherited beans is put to the cache
* removed some sysouts
2018-05-20 16:53:56 +12:00
Roland Praml and Rob Bygrave
0a49fc9b62
FIX: NPE when fetching inherited beans from cache ( #1373 )
2018-05-14 21:12:42 +12:00
rob bygrave
cfaedcdbc5
#1371 - Regression in 11.15.5 with @Inheritance on abstract class with discriminatorType = INTEGER
2018-05-10 17:20:09 +12:00
Rob Bygrave
9895e48485
#1349 - Example passing test for - RawSql fetch object with inheritance / 2
2018-03-15 22:47:37 +13:00
Rob Bygrave
607cf3156c
#1347 - Improve cleanup of inactive transactions from threadLocal when no end() used
2018-03-13 00:15:42 +13:00
rob bygrave
e75670f207
#1188 - When using inheritance getReference() on a leaf type ... should not hit the DB
2017-11-01 20:42:18 +13:00
rob bygrave
8c0232fdb8
#1114 - Deprecate findUnique() - please migrate to findOne() - update tests
2017-09-08 22:48:46 +12:00
Roland Praml and Rob Bygrave
591067e39e
FIX: Typo in classname ( #1086 )
2017-08-30 17:37:45 +12:00
rob bygrave
d04954e46f
#999 - @DiscriminatorColumn columnDefinition is ignored for DDL generation
2017-05-20 15:03:21 +12:00
Rien Nentjes
2a64a02211
Discriminator query cache error
2017-05-04 14:16:38 +02:00
Rob Bygrave
67ef0cd5d9
Refactor - repackage / move test code only
2017-05-01 20:39:49 +12:00
Roland Praml and Rob Bygrave
40ca179509
FIX: do not hit database if inherited entity has no children ( #974 )
...
* FIX: do not hit database if inherited entity has no children
* ADD: Testcase for creating references of inherited beans
2017-02-26 12:25:55 +13:00
Rob Bygrave
971e2dc91b
#919 - io.ebean package initial
2016-12-11 23:23:22 +13:00