rob bygrave
7bc6170587
#2032 - Objects that occur in query is not filtered by @SoftDelete (when query has predicates on a ToMany path the associated soft delete predicates are not included)
2020-07-10 10:00:52 +12:00
rob bygrave
e00aa479ae
#1841 - SqlServer findCount with @Aggregation gives SQLException:No column name was specified for column 2 of 'c'
2019-10-11 20:18:18 +13: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
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
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
2f8a99c304
#1747 - Refactor io.ebeaninternal.server.query access and remove unused
2019-07-02 22:37:35 +12:00
rob bygrave
ddf200ffdd
#1738 - Refactor toArray() plus various
2019-06-29 00:40:16 +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
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
141f0a8b16
Testing out concept - aggregation formula on fetch clause
2019-01-22 15:56:20 +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
rob bygrave
0397140e0b
#1589 - Refactor internals move SqlQuery sqlDistinct ... to SqlTreeNodeRoot (query plan)
2018-12-21 15:57:07 +13:00
rob bygrave
bafba0babf
#1572 - Support query.select("customer.id").findSingleAttributeList() ... in addition to the expected and working select("customer").findSingleAttributeList()
2018-12-06 00:15:06 +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
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
74a9019535
#115 - Mapping - Add support for @ElementCollection enhancement
...
Initial support - simple List.
2018-03-20 14:22:29 +13:00
Rob Bygrave
55a257a64c
#1334 - ENH: Convert ORM query into DTO query ... with dynamic formula support
2018-03-07 01:52:18 +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
c1b022c123
NEW: FetchCountDistinct - query can return distinct values with their counts ( #1300 )
...
* NEW: FetchCountDistinct - query can return distinct values with their counts
* Have to disable asserts, because of #1298
2018-03-02 11:46:41 +13:00
Rob Bygrave
f8ea5619d0
#1268 - SQL Server fix for "for update" plus Sequences support plus refactor of sequences
2018-02-22 22:45:44 +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
0bf4c84bc8
#1153 - Refactor move SplitName into io.ebean.util
2017-10-05 00:41:32 +13:00
Koen De Groote and Rob Bygrave
951e517caf
Replaced Tail Recursion while while/true loops. ( #1019 )
2017-05-11 22:07:10 +12:00
Rob Bygrave
0e2900d796
#980 - fix several bugs in findSingleAttibute - Refactor moving logic into DefaultOrmQuery setDefaultSelectClause() from findSingleAttributeList() (to support alternate calling via EbeanServer)
2017-02-26 13:08:10 +13:00
Roland Praml and Rob Bygrave
a46e086dc4
fix several bugs in findSingleAttibute ( #980 )
...
* add test case for distinct on id property
* suggested fix for "select distinct id"
* add test case for distinct with fetch
* FIX: .setDistinct(true) can be used in conjunction with fetch() now
* add test case for distinct with beans that have a disriminator column
* FIX: discriminator column is only read if also Id is read.
* fine tuned the test case
* added test cases for findSingleAttributeList without distinct
* improved fix to support also findSingleAttribute without distinct
* ADD: Bonus test case - assertion not yet verified
2017-02-26 12:37:36 +13:00
Koen De Groote and Rob Bygrave
6120a465e1
Simple fixes ( #976 )
...
* Should be only the really simple stuff.
* Final cleanups.
2017-02-23 23:46:51 +13:00
Rob Bygrave
84e1e12b66
#900 - Error - Can't fetch JsonDB field - org.postgresql.util.PSQLException: ERROR: could not identify an equality operator for type json
2016-12-20 02:59:47 +13:00
Rob Bygrave
971e2dc91b
#919 - io.ebean package initial
2016-12-11 23:23:22 +13:00