rob bygrave
acff330b37
#1918 - Ebean 12.1.9 breaks Guice in Stage.PRODUCTION mode for multi tenant apps
2020-01-28 12:07:07 +13:00
rob bygrave
8a263d243c
Refactor for query plan capture with initial threshold micros - part 2
2019-12-24 00:29:46 +13:00
rob bygrave
6fcac27dfe
Refactor for query plan capture with initial threshold micros
2019-12-23 10:28:08 +13:00
rob bygrave
5cd74bc468
#1892 - Refactor change internal use of Ebean to DB
2019-12-13 14:17:05 +13:00
Rob Bygrave and GitHub
a04594540c
#1873 - Refactor metrics reporting and collection, simplify removing MetricOrmQueryNode, MetricOrmQueryOrigin ( #1874 )
...
* #1873 - Refactor metrics reporting and collection, simplify removing MetricOrmQueryNode, MetricOrmQueryOrigin
* #1873 - fix test
2019-11-29 23:35:21 +13:00
rob bygrave
c2a30f786f
#1864 - L2 cache miss for natural key property of type UUID
2019-11-17 17:06:38 +13:00
rob bygrave
aa96d10491
Refactor tidy after #1863 . Add NaturalKeyEntrySimple for single property natural key lookup.
2019-11-16 21:48:37 +13:00
rob bygrave
dfefbecf44
#1863 - L2 cache miss on natural key cache when multiple properties that include a ManyToOne
2019-11-16 17:03:34 +13:00
rob bygrave
1e7de83019
Element collection persist - initial
2019-10-17 10:15:58 +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
b665d8375c
#1831 - Update query with maxRows does not include the limit in the generated SQL
2019-10-11 17:01:30 +13:00
rob bygrave
8890079b80
#1839 - Fix JSON marshalling of @ElementCollection maps and scalar
2019-10-10 21:32:44 +13:00
rob bygrave
fb5a69adea
#1833 - When cascade persisting twice to ElementCollection ... we get do extra delete and inserts
2019-10-08 13:25:18 +13:00
rob bygrave
d2ece76ca8
#1816 Fix for OneToMany relation to non-cached target bean.
2019-09-12 14:55:37 +12:00
rob bygrave
21a3f322e1
#1798 - Fix automatic query label set on nested secondary query when using profileLocation
2019-08-19 23:15:27 +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 and GitHub
1d471fee92
#1768 - Initial refactor extracting CallOrigin interface ( #1791 )
2019-08-14 17:02:57 +12:00
rob bygrave
f31ab4d6a8
#1758 - Error when using ebean 11.41.1 and ebean-spring-txn 11.10.4
...
Fix method visibility restoring those methods as public
2019-07-17 10:27:07 +12:00
André Camilo and Rob Bygrave
f77388738b
ENH: backdoor to disable @Transactional during unit testing ( #1756 )
2019-07-16 23:09:04 +12:00
Roland Praml
5544a2cc3e
Possible fix
2019-07-12 12:59:19 +02:00
rob bygrave
ddf200ffdd
#1738 - Refactor toArray() plus various
2019-06-29 00:40:16 +12:00
rob bygrave
7fa5e2aa8c
#1738 - Refactor add final, Object.equals, Integer.compare
2019-06-29 00:23:12 +12:00
rob bygrave
8bfae9deef
#1738 - Refactor simplify switch and various
2019-06-28 23:48:03 +12:00
Rob Bygrave and GitHub
7fbdab6220
Refactor TableModState to use nanoTime refactor ( #1720 )
...
* #1719 - Refactor TableModState to use nanoTime
* Tests only - reduce logging
2019-05-21 00:42:17 +12:00
Rob Bygrave and GitHub
c6ba4d8155
Refactor DefaultTransactionThreadLocal, convert ThreadLocal to field (from map) ( #1716 )
...
* Refactor DefaultTransactionThreadLocal, convert ThreadLocal to field (from map)
* Add test for multiple database thread locals
2019-05-18 15:16:17 +12:00
Rob Bygrave and GitHub
201958f38c
Refactor tidy on DefaultTransactionThreadLocal ( #1715 )
...
- remove unused methods
- use clear() rather than set(null)
2019-05-18 12:32:17 +12:00
rob bygrave
c839fe6520
Adjustment on #1711 , more explicit clearing of inactive transactions from thread local
2019-05-18 11:21:11 +12:00
rob bygrave
c66e9547e1
#1705 - SpiTransactionProxy depth(int diff) ... does not pass on depth to underlying transaction
2019-05-16 22:44:09 +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
ae228d6b0e
#1679 - ENH: Support enabling/disabling L2 cache by "region" at runtime
2019-04-24 14:00:22 +12:00
rob bygrave
2639e799c5
#1673 - ENH: Support ProfileLocation on DtoQuery including via orm query.asDto()
2019-04-12 02:01:01 +12:00
rob bygrave
30ae435f33
#1672 - ENH: Add ebean.dumpMetricsOnShutdown=true ... for dumping metrics
2019-04-12 00:45:00 +12:00
rob bygrave
1c6fa575f2
#1669 - When deleting complex object graphs, entities are deleted multiple times
...
Fix by not unregistering the deleted bean hash in the transaction so that
the skip occurs on other root level bean traversals (the delete of the
2nd master bean)
2019-04-09 20:30:17 +12:00
rob bygrave
fc032c632b
#1658 - ENH: Add label to ProfileLocation and use as default query label
2019-03-27 09:37:35 +13:00
rob bygrave
988e4c7386
WIP Bind parameter expansion
2019-02-07 21:10:57 +13:00
rob bygrave
a02673359d
No effective change - tidy BindParams
2019-02-04 12:34:02 +13:00
rob bygrave
26d1288757
#1613 - When using transaction.setPersistCascade(false) ... a Delete query should not cascade
2019-01-22 00:05:19 +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
cd8c12a9a8
#1566 - ENH: Support query.setBaseTable() ... to query against dynamic table (ala manual table partitioning)
2019-01-09 19:13:35 +13:00
Roland Praml
4d93b70bf9
Supports loading of corrupt beans
2019-01-03 11:43:50 +01:00
rob bygrave
0397140e0b
#1589 - Refactor internals move SqlQuery sqlDistinct ... to SqlTreeNodeRoot (query plan)
2018-12-21 15:57: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
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
105f08cca1
FIX: Pairs must not be modified by query ( #1539 )
...
* FIX: Pairs must not be modified by query
* Modification can also occur on inValues.
* fixed tests
* removed obsolete line
2018-11-13 23:41:36 +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
b87e360ac7
#1504 - ENH: Add SqlUpdate executeNow() method ... that executes now regardless of transaction batch mode
2018-10-12 18:49:20 +13:00