rob bygrave
bcb136b692
#1765 - Wrong SQL generated on m2m and OrderBy (Regression of #1746 )
2019-07-19 10:43:07 +12:00
rob bygrave
4513dbf29d
No effective change - whitespace change only to SqlTreeBuilder
2019-07-19 00:22:41 +12:00
rob bygrave
cedba089e1
Merge branch 'cannot-access-referenced-prop' of https://github.com/FOCONIS/ebean into FOCONIS-cannot-access-referenced-prop
2019-07-18 23:48:47 +12:00
rob bygrave
ee4d1bf866
#1760 #1759 - move make available via ebean-test-config
2019-07-17 15:48:11 +12:00
rob bygrave
dcf7b60d37
#1760 #1759 - ENH: Add ForTests.rollbackAll(closure) and ForTests.createRollbackAll()
2019-07-17 14:44:52 +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 and Rob Bygrave
945175c533
Throwing NotEnhancedException on _ebean_* method instead of enforce to implement them ( #1755 )
2019-07-16 23:07:40 +12:00
rob bygrave
7d37c6cfd8
#1753 - use selectId() for findCount() with Formula properties
2019-07-15 19:04:43 +12:00
rob bygrave
496672b394
#1753 - Tidy for Issue with using the Formula-Properties
2019-07-14 16:03:07 +12:00
Roland Praml
081cb20260
always add main ID property, if no foreign key (=noConstraint) is present
...
(cherry picked from commit ea562151a8e3043df13381abd0d076d592618340)
2019-07-12 14:23:50 +02:00
Roland Praml
5544a2cc3e
Possible fix
2019-07-12 12:59:19 +02: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
e62db11f01
#1747 - Refactor extract common code for SaveManyElementCollection preElementCollectionUpdate()
2019-07-02 23:41:01 +12:00
rob bygrave
8c8f2b95da
#1747 - Refactor DeleteMeta and UpdateMeta to extract common appendWhere() code
2019-07-02 23:25:05 +12:00
rob bygrave
576eb01187
#1747 - Refactor remove unused SqlTreeProperties readOnly
2019-07-02 23:15:41 +12:00
rob bygrave
8b18b2a20e
#1747 - Refactor io.ebeaninternal.server.query invert boolean methods
2019-07-02 23:10:21 +12:00
rob bygrave
f5c12a916d
#1747 - Refactor io.ebeaninternal.server.transaction access and remove unused
2019-07-02 22:58:31 +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
f251ca5431
#1747 - Refactor ebeaninternal/server/persist remove unused part 3
2019-07-02 22:06:12 +12:00
rob bygrave
2c44c80f65
#1747 - Refactor ebeaninternal/server/persist remove unused part 2
2019-07-02 21:56:05 +12:00
rob bygrave
d9efeac0a1
#1747 - Refactor ebeaninternal/server/persist remove unused emptyStringAsNull
...
- remove unused emptyStringAsNull
- tighten access
2019-07-02 21:47:53 +12:00
rob bygrave
f4a7d0b6ad
#1747 - Refactor ebeaninternal/server/persist access, switch
2019-07-02 21:39:07 +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
52398317bc
#1746 - Wrong SQL generated when using setDistinct and order by on aggregated column
2019-07-01 22:50:44 +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
eba521563a
#1739 - Entity with just @Id and @OneToMany fields produces broken insert query
2019-06-30 19:37:49 +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
b4182d4519
#1738 - Refactor SqlTreeNodeBean tidy
2019-06-28 22:40:14 +12:00
rob bygrave
93cc0399f1
#1738 - Refactor SqlTreeNodeBean load method
2019-06-28 22:35:36 +12:00
rob bygrave
d70da1d805
#1738 - Refactor tidy internals - refactor move server.lib.Str
2019-06-28 21:32:15 +12:00
rob bygrave
2225d5b7e8
#1738 - Refactor tidy internals - refactor move DtoQueryRequest
2019-06-28 21:30:15 +12:00
rob bygrave
270369bd65
#1738 - Refactor tidy internals - DLoadContext
2019-06-28 21:20:42 +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
a1e185b0f6
Refactor tidy internals - BatchedPstmtHolder, always true condition (no effective change)
...
Remove condition check on firstError == null ... as it is always true
2019-06-24 13:41:21 +12:00