Rob Bygrave
4d0b29624e
#1222 - Extend L2 ServerCache API with putAll(), getAll() and removeAll() methods
2017-12-13 19:58:28 +13:00
Rob Bygrave
fd2d083971
#1217 - L2 query cache not caching empty result set
2017-11-22 22:03:35 +13:00
Rob Bygrave
d5555ed9a9
#1211 - ENH: Support L2 cache complex natural keys include findList() queries
2017-11-18 22:20:42 +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
2b94487573
#1202 - Automatically remove old query plans from Ebean's internal query plan cache
2017-11-06 22:59:42 +13:00
rob bygrave
66fe278e3f
#1192 - findNative() with @Embedded beans ... the embedded bean isn't loaded properly
2017-11-01 23:03:57 +13:00
rob bygrave
6e62b72fb9
#1186 - ENH: Support using TableValues / Array for select prop in (?) queries
2017-10-31 02:53:20 +13:00
Rob Bygrave
55d66ae851
#1183 - Support transaction profiling, move away from binary encoding
2017-10-26 23:32:44 +13:00
rob bygrave
7ebef51859
#1183 - ENH: Add support for transaction profiling
2017-10-25 01:07:00 +13:00
Rob Bygrave
96a4b93c75
#1167 - BUG: query.setId(...).delete() does not work
2017-10-16 22:58:48 +13:00
Roland Praml and Rob Bygrave
d0ca75c25b
FIX: connection leak in query-iterator ( #1164 )
2017-10-09 20:46:02 +13:00
Roland Praml and Rob Bygrave
fb1c7667cc
FIX: order by must be added in findEach also ( #1163 )
2017-10-09 20:28:36 +13:00
rob bygrave
0bf4c84bc8
#1153 - Refactor move SplitName into io.ebean.util
2017-10-05 00:41:32 +13:00
rob bygrave
f02a552cdf
#1150 - Refactor convert RawSql and RawSqlBuilder into interfaces and push the parsers into io.ebeaninternal
2017-10-04 23:03:12 +13:00
Rob Bygrave
8301cb634e
#1027 - ENH: Add a Slow query event listener ... to log or listen to queries that exceed some defined execution time
2017-10-03 15:04:30 +13:00
rob bygrave
2c436c3af5
#1123 - 11.1.1 API change - moved PersistBatch, Platform, TxIsolation and TxType to io.ebean.annotation package
2017-09-15 21:48:37 +12: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
c7a7651602
#1127 - Remove the ebean.query.globallimit of 1 million "backstop"
2017-09-13 21:22:03 +12:00
Roland Praml and Rob Bygrave
a6e4e181bf
Feature/cache improvements 2 ( #1067 )
...
* New Mode to control queryCache behavior
* Collections form the cache have to be read only
* findCount not queried in query cache
* return modifiable collections from the cache
* FIX: Compile errors
* No effective code change: reformat code / javadoc
2017-09-12 23:40:18 +12:00
rob bygrave
96e3f4138f
#1064 - Query table alias not used in update() or delete() queries
2017-08-31 21:29:08 +12:00
Koen De Groote and Rob Bygrave
9772623880
Added the Serializable interface to classes that extend/implement a Comparator with an anonymous/typed class. ( #1078 )
2017-08-03 23:29:56 +12:00
rob bygrave
166bcd7c45
#1061 - findCount query is not cached in L2 query cache
2017-07-06 21:51:52 +12:00
rob bygrave
95aed6af54
#1060 - findSingleAttributeList doesn't store result in L2 query cache
2017-07-06 21:35:20 +12:00
Koen De Groote and Rob Bygrave
36a5610e25
Using Regular expression objects for splitting and replacing in strings. ( #1059 )
...
* Where possible, replace .split() and .replace() methods with compiled Regex patterns.
This prevents a regular expression from being compiled multiple times during runtime.
* Forgot making one instance `private static final`.
2017-07-06 20:14:51 +12:00
rob bygrave
080bafe18f
#1048 - Fix connection leak on failed findIterate()
2017-06-25 22:39:04 +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
Koen De Groote and Rob Bygrave
951e517caf
Replaced Tail Recursion while while/true loops. ( #1019 )
2017-05-11 22:07:10 +12:00
Koen De Groote and Rob Bygrave
335c4de109
Static code analysis. ( #1017 )
2017-04-30 14:47:02 +12:00
Koen De Groote and Rob Bygrave
8432f7b0d5
Some changes that are possible in Java language level 7 and 8. ( #1007 )
2017-04-22 15:43:56 +12:00
Rob Bygrave
c8d01828b3
#991 ENH: Add forUpdateNoWait() and forUpdateSkipLocked() options ... #528 ENH: Improve exception handling
2017-03-13 20:50:22 +13: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
Roland Praml and Rob Bygrave
a315c7c11e
More small fixes ( #977 )
...
* no effecitve code change: add @FunctionalInterface to designated interfaces
* no effective code change: removed obsolete imports
* no effective code change: removed obsolete @SuppressWarnings
* no effective code change: add @SuppressWarnings to UUID_PLACEHOLDER
2017-02-24 08:42:27 +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
d9147327c1
#944 - Incorrect join (should be outer join) when predicate only path traverses an optional relationship to a mandatory relationship
2017-01-11 23:21:50 +13:00
Rob Bygrave
7e2be20b6e
#925 - Change generated SQL for H2, Postgres and MySql to not use column alias'
2016-12-20 21:30:00 +13:00
Rob Bygrave
bc93a82b1a
#900 - Error - Can't fetch JsonDB field - org.postgresql.util.PSQLException: ERROR: could not identify an equality operator for type json
2016-12-20 03:00:08 +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
cf37fda3f4
#921 - Refactor internals - Change internal use of "findRowCount" to "findCount"
2016-12-13 19:51:11 +13:00
Rob Bygrave
971e2dc91b
#919 - io.ebean package initial
2016-12-11 23:23:22 +13:00