rob bygrave
a3f9c4c889
#1836 - NPE with findCount() on bean with @Aggregation, Regression in 11.45.1
2019-10-10 08:55:01 +13:00
rob bygrave
80a764a448
#1835 Refactor JDBC batch escalation
2019-10-09 00:17:34 +13:00
rob bygrave
6621c5dfbb
Refactor detection of deferred persist relationship (circular imported ids)
2019-10-08 21:49:22 +13:00
rob bygrave
3574479627
#1821 - Remove serverConfig updateChangesOnly mode ... as always true
2019-09-15 21:29:25 +12:00
rob bygrave
63bddb4d54
#1810 - Whan paging over query with @Aggregation ( grouping by) wrong total count is calculated
2019-09-11 23:38:12 +12:00
rob bygrave
9674711516
#1796 - ENH: add query.fetchCache(path) ... for explicitly building part of graph from L2 cache
2019-08-19 21:36:19 +12:00
rob bygrave
9155716752
#1795 - Refactor bind padding for Id IN expressions (based on internal multiValueSupport and simple id)
2019-08-18 16:33:36 +12:00
rob bygrave
f5459920e9
#1785 - Bean gets replaced on json deserialization with primitive 'null' id
2019-08-12 21:05:32 +12:00
rob bygrave
b3d0c21a80
#1783 - Save bean with only *ToMany relations with user generated ID
2019-08-07 22:28:51 +12:00
rob bygrave
2f8a99c304
#1747 - Refactor io.ebeaninternal.server.query access and remove unused
2019-07-02 22:37:35 +12:00
rob bygrave
bc5db1e46a
#1747 - Refactor remove unused methods
2019-07-02 21:26:24 +12:00
rob bygrave
68db6723d0
#1747 - Refactor tidy finals, local fields, switches, unused methods
2019-07-02 21:08:13 +12:00
rob bygrave
5f2454831e
#1747 - Refactor tidy tighten access on ebeaninternal/server/deploy
...
Adds PropertyAssocMany to ensure public access on BeanPropertyAssocMany helper methods for ebean-elastic integration.
2019-07-02 20:46:49 +12:00
rob bygrave
e6c9f151c1
#1738 - Refactor tidy suppressWarnings and access
2019-06-28 23:20:57 +12:00
rob bygrave
24b08663af
#1737 - PersistenceException while using aggregate query on related entity
...
Fix excluding the ability to additionally join (off the min(manyToOne))
2019-06-28 20:16:05 +12:00
jonasPoehler and Rob Bygrave
2923dd1d96
Bugfix/create entity bean unload ( #1729 )
...
* #1726 Add a testcase to reveal wrong behaviour of createEntityBean
* #1726 FIX: createEntityBean must not unload properties for "new" beans
(cherry picked from commit 270721bdb54373a83ef00b19a3c35da50f2a2bf5)
2019-06-10 16:09:12 +12:00
rob bygrave
65fa1c056b
#1681 - Support hitting L2 bean cache via ... findList() with idsIn() expression
2019-04-26 12:01:16 +12:00
rob bygrave
30ae435f33
#1672 - ENH: Add ebean.dumpMetricsOnShutdown=true ... for dumping metrics
2019-04-12 00:45:00 +12:00
rob bygrave
aef512a851
#1653 - ENH: Add support for ClickHouse database
2019-03-14 00:08:13 +13:00
rob bygrave
eb1bca805e
#1619 - Support aggregation formula on fetch clause e.g. query.fetch("machineUsage", "sum(totalKms)")
2019-01-23 16:45:47 +13:00
rob bygrave
141f0a8b16
Testing out concept - aggregation formula on fetch clause
2019-01-22 15:56:20 +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
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
58f6c67d78
#1585 - Change the L2 bean cache keys to be String based
2018-12-21 01:54:46 +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
ec24374d72
Add some sanity checks when creating sort comparators ( #1538 )
2018-11-13 20:55:09 +13:00
Roland Praml and Rob Bygrave
ce403e72a7
FIX: improved support for @DbForeignKey(noConstraint = true) ( #1527 )
...
* FIX: improved support for DbForeignKey(noConstraint = true)
* FIX: Tests for mariadb and sqlserver
* FIX: SqlServer was still incorrect
* FIX: not ommit property for formula
* Update BeanDescriptor.java (typo fix)
fix typo column (no code change!)
2018-11-13 20:44:45 +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 and GitHub
f928923b5b
#1519 - Memory leak when using @Cache(enableQueryCache=true) ( #1523 )
...
* #1519 - Memory leak when using @Cache(enableQueryCache=true)
* #1519 - Memory leak when using @Cache(enableQueryCache=true)
Remove unused TransactionEventBeans
2018-10-31 23:53:16 +13:00
rob bygrave
8160d1f01c
#1508 - Invalid SQL used to fetch identity value for @Draftable with database platform that uses Identity but not getGeneratedKeys
2018-10-19 15:56:39 +13:00
Roland Praml and Rob Bygrave
7e995efb62
Add methods th the plugin API to access type and inheritance information ( #1491 )
2018-09-26 20:48:19 +12:00
Rob Bygrave and GitHub
ded7d44974
Add support for Postgres range partition DDL plus refactor xsd definitions that had got out of sync ( #1465 )
...
* Add partition meta mapping
* Fix to allow schema prefix on select dynamic formula
* Add partition meta mapping
* Migration XSD Update
* Fix to allow schema prefix on select dynamic formula
* Bump ebean-migration to 11.8.1
2018-08-08 23:29:29 +12:00
Mitsch164 and Rob Bygrave
5b8ef8154a
Fix Transaction Flushing when ID Property is Loaded ( #1450 )
...
* Fix for unintentianal flush when ID is loaded
* fix duplicateKey Exception
* higher id
2018-07-12 15:10:17 +12:00
rob bygrave
c981944c8e
#1444 - JSON parsing with inheritance - java.lang.UnsupportedOperationException: cannot create entity bean for abstract entity ...
2018-07-04 21:26:17 +12:00
rob bygrave
ed566ca153
#1427 - QueryCache should be cleared, if one of a dependent bean is updated
...
Refactor on PostCommitProcessing with fixes for dependent table invalidation
2018-06-26 00:25:33 +12:00
rob bygrave
671d082ad3
#1427 - Map all deleteByIds into a single CacheChangeBeanRemove and use bulk removeAll api to remove from cache
2018-06-19 01:34:28 +12:00
rob bygrave
43e95d81f6
#1427 - RemoteTransactionEvent process dependent tables
2018-06-19 00:50:14 +12:00
rob bygrave
085843339f
#1432 - Refactor internals for RemoteTransactionEvent / BeanPersistIds ... to not send inserted ids
2018-06-17 23:34:27 +12:00
rob bygrave
96cc8d7605
#1427 - QueryCache should be cleared, if one of a dependent bean is updated
...
Initial work, does not include propagation across cluster.
2018-06-15 17:36:23 +12:00
rob bygrave
81c6d4601d
#1425 - Stateless update with OneToMany with SoftDelete and deleteMissingChildren = true ... does a hard delete
2018-06-14 16:09:45 +12:00
rob bygrave
af030e3da4
#1394 #1395 - ENH: Add addBatch() and executeBatch() to SqlUpdate ... alternative to changing transaction batch mode enhancement
...
ENH: Add merge() API (using default merge options) to EbeanServer, Ebean and BeanRepository enhancement
2018-05-30 03:31:32 +12:00
rob bygrave
9a096e272e
#1392 - MergeOptionsBuilder setClientGeneratedIds() ... should not be required if the Id property does not have Identity/Sequence generator assigned
2018-05-29 15:24:32 +12:00
Roland Praml
c5329e9db0
reformatting
2018-05-28 17:05:52 +02: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
0a49fc9b62
FIX: NPE when fetching inherited beans from cache ( #1373 )
2018-05-14 21:12:42 +12:00
rob bygrave
33031d1c69
#1369 - BeanListener and/or BeanPersistAdapter not fired on delete of children when cascaded
2018-05-06 20:21:10 +12:00
Rob Bygrave
acd5578d8a
#115 - Mapping - Add support for @ElementCollection enhancement
...
Add element collection L2 cache support
2018-03-29 01:15:58 +13:00
Rob Bygrave
57870aaa05
#115 - Mapping - Add support for @ElementCollection enhancement
...
Add embedded bean support
2018-03-28 13:22:46 +13:00
Rob Bygrave
cca837bcfa
#1354 - ENH: Add SqlUpdate setNextParameter() ... as alternative for positioned parameters
2018-03-28 00:45:12 +13:00
Rob Bygrave
057d7480b0
#115 - Mapping - Add support for @ElementCollection enhancement
...
Add simple Map support with Json
2018-03-21 00:15:40 +13:00