rob bygrave
65fa1c056b
#1681 - Support hitting L2 bean cache via ... findList() with idsIn() expression
2019-04-26 12:01:16 +12:00
rob bygrave
86436ac3ac
#1679 - ENH: Support enabling/disabling L2 cache by "region" at runtime
2019-04-24 15:41:07 +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
30ae435f33
#1672 - ENH: Add ebean.dumpMetricsOnShutdown=true ... for dumping metrics
2019-04-12 00:45:00 +12:00
rob bygrave
54534ea7f3
#1657 - ERROR BeanDescriptorManager - Error in deployment java.lang.RuntimeException: Expecting [ ... ] to start with "select"
2019-03-21 22:30:27 +13:00
rob bygrave
aef512a851
#1653 - ENH: Add support for ClickHouse database
2019-03-14 00:08:13 +13:00
rob bygrave
435e1f61fe
#1651 - ENH: Support change to io.ebean.Model that supports named databases (other than default database)
2019-03-13 15:05:08 +13:00
rob bygrave
0c03a8b925
#1630 - ENH: Improve jdbc batch use when persisting ManyToMany intersection changes
2019-02-05 17:35:58 +13:00
rob bygrave
5cef1ad017
#1625 - Populate UUID via database column default value / impossible to disable automatic generation for @Id fields of type UUID.
2019-02-02 20:16:05 +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
396fb49acd
#1618 - ENH: Add @Sum ... as short hand for @Aggregation("sum(<property name>)")
2019-01-23 00:29:51 +13:00
rob bygrave
141f0a8b16
Testing out concept - aggregation formula on fetch clause
2019-01-22 15:56:20 +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 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
Roland Praml and Rob Bygrave
b18bc82b8a
FIX: possible NPE in DeleteUnloadedForeignKeys.deleteCascade and in initPostTarget ( #1601 )
2019-01-08 22:41:43 +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
Roland Praml
4d93b70bf9
Supports loading of corrupt beans
2019-01-03 11:43:50 +01:00
rob bygrave
f66316138d
#1584 - Fix for - Query cache bug, which produces wrong results
2018-12-21 13:53:05 +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
rob bygrave
e4088c5fbe
#1571 - NPE in cacheable bean with embeddedid on delete
2018-12-05 23:03:15 +13:00
rob bygrave
e876ef8d87
#1559 - @Lob with @ElementCollection
2018-12-03 21:07:33 +13:00
rob bygrave
426c6c8111
#1554 - Improve exception message for BeanNotEnhancedException
2018-11-20 11:33:16 +13:00
Roland Praml and Rob Bygrave
7be4675d3e
NEW: ExpressionPath provides access to property and elName ( #1550 )
2018-11-19 22:16:01 +13:00
rob bygrave
89c0324e42
#1544 - No effective change - use https://ebean.io for urls
2018-11-13 21:26:56 +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
Roland Praml and Rob Bygrave
13a5511318
FIX: disableLazyLoading was not checked correctly ( #1528 )
2018-11-03 16:23:27 +13:00
rob bygrave
32b599512b
#1524 - @History on @OneToMany with asOf() query and fetch(many property) gives PersistenceException: Error with property[6] dt[93]data[2018-11-01 14:56:18.015][java.sql.Timestamp]
2018-11-01 00:48:46 +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
19d29cd836
#1514 - Add support for JacksonAnnotations at bean-properties
...
Fix where Jackson is not present on the classpath
2018-10-26 14:50:17 +13:00
rob bygrave
f14c3e8cb4
Merge branch 'master' of github.com:ebean-orm/ebean
2018-10-26 01:34:36 +13:00
rob bygrave
d627bb47e2
#1516 - More user friendly exceptions - BeanNotEnhancedException, BeanNotRegisteredException
2018-10-26 01:33:24 +13:00
rob bygrave
d395c666fc
#1516 - More user friendly exceptions - BeanNotEnhancedException, BeanNotRegisteredException
2018-10-26 01:32:22 +13:00
Roland Praml and Rob Bygrave
939397acfc
Add support for JacksonAnnotations at bean-properties ( #1514 )
2018-10-25 22:11:36 +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
rob bygrave
de9823b69b
#1505 - Unidirectional @OneToOne orphanRemoval=true ... does not delete orphan that is replaced
2018-10-12 22:30:06 +13:00
rob bygrave
31093babe3
#1498 - findIds() with @SoftDelete bean returns all Ids (when soft deleted ones should not return)
...
And fix delete permanent that cascades
2018-10-04 20:49:30 +13:00
Rob Bygrave
9734ae5787
#1490 - FIX: withQuote_when_match for different platforms
2018-09-26 21:33:27 +12:00
Roland Praml and Rob Bygrave
a83a4fa1c4
FIX: check platform on multiple annotations like '@Formula(platform=...)' ( #1495 )
2018-09-26 20:55:39 +12: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
0e75c50be5
#1487 - @OneToOne Postgres with different Id types - error PSQLException: ERROR: operator does not exist: uuid = character varying
...
Fix
2018-09-24 22:30:45 +12:00
Rob Bygrave
42f9e74d91
#1483 - Invalid SQL with allQuotedIdentifiers true - where t0.[t0.[COND]] in (?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
2018-09-20 23:12:26 +12:00
Rob Bygrave
0e7dc4209c
#1482 - Improve error message for incorrect mapping - @JoinColumn without @ManyToOne etc
2018-09-20 21:09:01 +12:00
rob bygrave
55a9ba7170
#1475 - @OneToOne child with @SoftDelete that is deleted is still loaded by parent
2018-08-27 21:35:00 +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
rob bygrave
ec7e4e4935
#1461 - @OneToMany with @JoinTable without table name does not default join table name
2018-08-02 22:25:48 +12:00