rob bygrave
f24b4dba71
#1837 ( #1740 and #1744 ) - Inheritance on both sides of @ManyToOne
...
This change also relates back to #1740 and #1744 and changes the way that issue was fixed (by SqlTreeNodeBean on partially populated non-id inheritance bean).
2019-10-13 11:46:11 +13:00
Rob Bygrave and GitHub
a474880735
#1837 - Inheritance on both sides of @ManyToOne confuses columns ( #1843 )
...
* #1837 - Inheritance on both sides of @ManyToOne confuses columns
* #1837 - Inheritance on both sides of @ManyToOne confuses columns
Tidy up whitespace in SQL
2019-10-12 00:25:53 +13: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
2f8a99c304
#1747 - Refactor io.ebeaninternal.server.query access and remove unused
2019-07-02 22:37:35 +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
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
141f0a8b16
Testing out concept - aggregation formula on fetch clause
2019-01-22 15:56:20 +13:00
rob bygrave
e4088c5fbe
#1571 - NPE in cacheable bean with embeddedid on delete
2018-12-05 23:03:15 +13:00
rob bygrave
8c9dae0f88
Merge branch 'extrawhere-on-join' of https://github.com/FOCONIS/ebean into FOCONIS-extrawhere-on-join
2018-11-13 20:51:29 +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
c5536aaeec
FIX: append extraWhere to join
2018-11-10 23:42:02 +01:00
rob bygrave
fc26765a7e
#1499 - findNative with findIds (or findSingleAttributeList with id property) throws ArrayIndexOutOfBoundsException
2018-10-04 22:51:51 +13: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
eba1003c19
#1404 - Query.findCount() with query.setDistinct(true) ... doesn't give count distinct SQL query
2018-06-07 00:32:39 +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
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
021d57f4b2
FIX: @Formula on @ManyToOne produces SQLException ... fix appends missing FROM clause for formula joins #1299
2018-03-02 11:43:08 +13:00
Rob Bygrave
81d48d67a7
#123 - Mapping - Add support for OneToMany JoinTables
2018-02-20 14:40:21 +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
Roland Praml and Rob Bygrave
ac6708e0d0
Fix warnings ( #1129 )
...
* FIX: warnings (add generics, overrides, fix imports) - should be no effecive code change
* replaced deprecated methods by default methods
* FIX: more compiler warnings
* FIX more warnings - no code changes
2017-09-14 00:29:01 +12:00
rob bygrave
4b2481d3ea
#1039 Fix for - reset of dirty flag on L2 cached entities after lazy load
2017-06-23 23:20:17 +12:00
rob bygrave
711701932a
#1023 - Bug with findSingleAttributeList() when used against @ManyToOne / foreign key
2017-05-11 23:20:19 +12: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
Roland Praml and Rob Bygrave
40f5596837
add missing @override ( #975 )
...
* no effective code change: add missing @override in "io.ebean.*" package
* no effective code change: add missing @override in "io.ebeaninternal.api.*" package
* no effective code change: add missing @override in "io.ebeaninternal.server.*" package
* no effective code change: add missing @override in "io.ebeaninternal.util.*" package
* no effective code change: add missing @override in "io.ebeanservice.*" package
* no effective code change: add missing @override in "src/test/java/"
2017-02-24 00:01:25 +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
Roland Praml and Rob Bygrave
1292c86b76
removed duplicate StringHelper ( #958 )
2017-01-31 22:10:45 +13:00
Rob Bygrave
2fa4345742
#945 - Invalid SQL when using @Aggregation with a fetch() to a ManyToOne - missing columns in GROUP BY
2017-01-12 00:42:27 +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