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
Rob Bygrave
85c4385498
#115 - Mapping - Add support for @ElementCollection enhancement
...
Initial support - add simple Set support and Json support for simple List and Set.
2018-03-20 17:24:35 +13:00
Rob Bygrave
74a9019535
#115 - Mapping - Add support for @ElementCollection enhancement
...
Initial support - simple List.
2018-03-20 14:22:29 +13:00
Rob Bygrave
85bfe3d03e
#1345 - Refactor io.ebean.meta.MetaInfoManager API (query execution metrics). Breaking change for people collecting query execution metrics.
2018-03-10 02:51:51 +13:00
Rob Bygrave
873c14faaf
#1333 - ENH: Support "dynamic formula" with findSingleAttributeList() ... e.g. .select("concat(lastName,', ',firstName)")
...
Support cast of formula like ... select("max(updtime)::Instant")
2018-03-06 20:58:30 +13:00
Rob Bygrave
c1c85b67c2
#1333 - ENH: Support "dynamic formula" with findSingleAttributeList() ... e.g. .select("concat(lastName,', ',firstName)")
2018-03-06 17:29:45 +13:00
Rob Bygrave
3ca4efc818
#1331 - ENH: Support Aggregation formula with findSingleAttribute() ... max, min, avg, count and count(distinct ..)
2018-03-06 12:58:43 +13:00
Roland Praml and Rob Bygrave
efe325034b
NEW: Ebean.checkUniqueness - you can check a bean, if save would work ( #1303 )
2018-03-02 11:57:44 +13:00
Roland Praml and Rob Bygrave
a712be2917
auomatically append "order by id" when paging and query.orderById = true ( #1275 )
...
Add ServerConfig.setDefaultOrderById() and query.orderById(boolean) ... to control automatically append "order by id" with paging query
2018-02-27 10:09:52 +13:00
Rob Bygrave
4a243a76a7
#1270 - Multi-tenant - partition mode - Delete by id does not include tenantId value in predicate
2018-02-23 10:26:47 +13:00
Rob Bygrave
8ee68ac5e1
#1269 - Paging queries should not ALWAYS append an order by ID ... but only when the order by is empty
2018-02-22 22:40:22 +13:00
Rob Bygrave
eaa48468cd
#1174 - ENH: Support mapping @TenantId to an entity bean via @ManyToOne
2018-02-21 09:44:37 +13:00
Rob Bygrave
628af31ddd
#1142 - Mapping - Add support for @OrderColumn (Ebean automatically maintains an order column)
2018-02-15 22:31:41 +13:00
Rob Bygrave
842292ef6b
#107 - Mapping - Add support for @PrimaryKeyJoinColumn/@PrimaryKeyJoinColumns
2018-02-14 22:59:57 +13:00
Rob Bygrave
51d2e4c600
ENH: Add ProfileLocation - Part 2 - performance metrics for transactions with label and profileLocation
2018-01-22 14:54:27 +13:00
Rob Bygrave
07cdf64ece
#1238 - Refactor MetaInfoManager - collect query plan stats, fix collection of stats on UpdateQuery
2018-01-19 01:07:37 +13:00
Rob Bygrave
4d0b29624e
#1222 - Extend L2 ServerCache API with putAll(), getAll() and removeAll() methods
2017-12-13 19:58:28 +13:00
Rob Bygrave
d5555ed9a9
#1211 - ENH: Support L2 cache complex natural keys include findList() queries
2017-11-18 22:20:42 +13:00
Koen De Groote and Rob Bygrave
f1ebe7929b
Internal refactor / tidy - Suggestions from intellij code analysis. ( #1209 )
2017-11-14 18:19:38 +13:00
Rob Bygrave
2b94487573
#1202 - Automatically remove old query plans from Ebean's internal query plan cache
2017-11-06 22:59:42 +13:00
rob bygrave
1e1c518641
#1186 - ENH: Support using TableValues / Array for select prop in (?) queries
...
Use Postgres Array ANY and ALL without select unnest
2017-10-31 22:09:35 +13:00
rob bygrave
6e62b72fb9
#1186 - ENH: Support using TableValues / Array for select prop in (?) queries
2017-10-31 02:53:20 +13:00
Rob Bygrave
37d001f754
#1185 - Modify JDBC batch so it does not "auto flush" on non-Id non-generated property
2017-10-26 00:03:58 +13:00