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
a780dc133e
#1776 Fix for - refresh does not work on oneToMany if property was not yet accessed
2019-07-29 22:46:39 +12:00
rob bygrave
2a8fad7364
#1748 - Support older JPA API that doesn't have orphanRemoval() or joinColumn.foreignKey()
2019-07-03 00:08:50 +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
8743148238
#1747 - Refactor BeanPropertyAssocOne.diff() next prefix
2019-07-02 21:25:42 +12:00
rob bygrave
68db6723d0
#1747 - Refactor tidy finals, local fields, switches, unused methods
2019-07-02 21:08:13 +12:00
rob bygrave
9b1fa43792
#1747 - Refactor tidy remove unused ParamTypeUtil
2019-07-02 20:48:19 +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
140178bb47
#1747 - Refactor tidy on AnnotationParser, DeployBeanInfo
2019-07-02 19:52:10 +12:00
rob bygrave
f95b4b5c4b
#1747 - Refactor tidy on AnnotationAssocOne, AnnotationAssocClass & Base
2019-07-02 19:48:24 +12:00
rob bygrave
d3b3a79342
#1747 - Refactor tidy on DeployUtil and AnnotationAssocMany
2019-07-02 19:41:26 +12:00
rob bygrave
7f2e4f54ff
#1743 - Add hasForeignKeyConstraint()
...
Separate hasForeignKeyConstraint() for DDL use from hasForeignKey() used in query
2019-07-01 21:04:40 +12:00
rob bygrave
9f19ed5376
#1743 - When using @PrimaryKeyJoinColumn, FK constraint generation cannot be disabled
2019-07-01 00:07:14 +12:00
rob bygrave
d49a7c415f
Refactor tidy InheritInfo - no effective change
2019-06-30 21:53:59 +12:00
rob bygrave
8ffc9ede85
#1740 and #1744 Don't include the discriminator column on Inheritance query on a type that has no sub-types
...
Fix for #1740
2019-06-30 21:52:01 +12: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
e6c9f151c1
#1738 - Refactor tidy suppressWarnings and access
2019-06-28 23:20:57 +12:00
rob bygrave
30a0935300
#1738 - Refactor tidy suppressWarnings
2019-06-28 23:04:20 +12:00
rob bygrave
a932d61a94
#1737 - PersistenceException while using aggregate query on related entity
...
This part includes support for joins off an aggregation formula
on a ManyToOne.
e.g. We use min(customer) ... to 'query join' to customer
in the query below.
List<Contact> contacts = Ebean.find(Contact.class)
.select("lastName, min(customer)")
.fetchQuery("customer", "name, status")
.findList();
2019-06-28 21:03:14 +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
rob bygrave
8a4ffd21ab
#1722 - Fix for - L2 cache throw exception when query with custom ManyToMany relation model
2019-06-14 16:38:58 +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
3829613c37
#1717 #1721 - Fix for table touch with query cache clear
2019-05-21 09:17:07 +12:00
Roland Praml and Rob Bygrave
cf4d45befb
refactor: unwrap invocationTargetException ( #1718 )
2019-05-21 00:37:03 +12:00
rob bygrave
dcd81a857d
#1717 - Add tests for Query Cache invalidation
...
Revert the prior change that added the extra calls to
changeSet.addInvalidate(desc); as they are not needed.
2019-05-20 21:14:47 +12:00
Roland Praml and Rob Bygrave
0cac723eac
Query Cache will not always be invalidated ( #1717 )
...
* provide failing test, that shows missing cache invalidation
* FIX: proper cache invalidation when dependent table will be modified
2019-05-20 20:25:18 +12:00
rob bygrave
9fdb375229
#1691 - Refactor io.ebean.Model to use a named database - support for use with non-default named database
2019-04-30 23:42:59 +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
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