rob bygrave
ddf3c753d6
Ability to use order(<orderByClause>) on filterMany() (related to #1943 ) #1964
2020-03-03 22:31:01 +13:00
rob bygrave
f080f16e63
#1962 - Refactor simplify Postgres platforms to POSTGRES and POSTGRES9
2020-03-01 12:53:34 +13:00
rob bygrave
0891c067d5
#1953 - Do we need SqlServer2005Platform and SqlServer2005SqlLimiter?
2020-02-22 11:48:16 +13:00
rob bygrave
3878b02cff
#1956 - Add SqlQuery - mapTo( RowMapper) ... to deprecate findOne(RowMapper)
2020-02-22 10:50:23 +13:00
rob bygrave
92995b807e
#1955 - mapToScalar - Add SqlQuery.mapToScalar( <class> ).findOne() / findList() ... to deprecate findSingleAttribute()
2020-02-22 10:09:44 +13:00
Rob Bygrave and GitHub
907d36123d
OraclePlatform update (ANSI row limiting with OFFSET), Oracle11Platform for old behaviour ( #1951 )
...
* #1947 - Oracle change to use concat operator rather than function
* #1947 - setMaxRows(1).findIds() under Oracle returns wrong result
* #1950 - Change OraclePlatform to use ANSI row limiting - OFFSET and NEXT ROWS, old platform as Oracle11Platform
* Revert test default to H2
* #1947 - Oracle & Oracle11 platform
2020-02-22 09:28:34 +13:00
Rob Bygrave and GitHub
2db95f909d
Merge pull request #1944 from ebean-orm/feature/1943
...
#1943 - Use limit & offset via setFirstRow() and setMaxRows() on filterMany()
2020-02-22 09:26:03 +13:00
Rob Bygrave and GitHub
2314fd267f
Split Postgres platform into Postgres10 & Postgres9 (DDL - generated by default as identity) ( #1921 )
...
* Split Postgres platform into Postgres10 & Postgres9
- Use "generated by default as identity" for Postgres10 identity columns
* Add postgres9 migrationtest resources
* Set default back to h2
* Add postgres10 migration test resources
2020-02-22 09:18:05 +13:00
Rob Bygrave and GitHub
b24f093bbb
Remove io.ebean.meta.MetricType as it is unnecessary ( #1923 )
2020-02-22 09:17:14 +13:00
Michael Böckers
5278c010ba
added MySqlDbExpression.json
2020-02-21 12:58:18 +01:00
rob bygrave
e4390ed8a2
#1952 - Entity bean with @Id and ONLY @WhenCreated treated as reference bean - not inserted
2020-02-21 00:14:23 +13:00
rob bygrave
e9325a81f7
ENH: Add query.usingDatabase(database)
2020-02-19 11:41:06 +13:00
rob bygrave
168dacffa7
Deprecate orderBy() migrate to order()
2020-02-18 23:27:43 +13:00
rob bygrave
e0d322d80a
#1943 - Return ExpressionList<T> from setMaxRows() setFirstRow() to allow fluid style
...
This is to allow fluid style use of setMaxRows() setFirstRow() with filterMany query
2020-02-17 17:19:27 +13:00
rob bygrave
1dd0f3cbf8
#1943 - Use limit & offset via setFirstRow() and setMaxRows() on filterMany()
2020-02-17 17:05:01 +13:00
rob bygrave
6961bf5787
#1945 - ENH: Add query.orderById(boolean) to ExpressionList ... improve fluid style
2020-02-17 16:47:37 +13:00
rob bygrave
a14288b06d
Refactor tidy DefaultExpressionList, no functional change
2020-02-17 16:40:03 +13:00
rob bygrave
8feb100ac6
#1938 - API consistency add setParameters(varargs) & setParameter() - migrate from setNextParameter() and setParams()
2020-02-15 02:01:02 +13:00
rob bygrave
3e43d544fb
#1936 - ENH: Add saveAll(Object... beans) ... using varargs for DB and Database
2020-02-07 16:10:11 +13:00
rob bygrave
4ed3a18b9d
#1933 - ENH: Add DtoQuery.usingTransaction(Transaction) ... dto query with supplied transaction
2020-02-07 12:42:10 +13:00
Rob Bygrave and GitHub
3c9d7e3127
Merge pull request #1925 from ebean-orm/feature/refatorTxnProfile
...
#1924 - Refactor for Transaction profiling - base on ProfileLocation / remove profileId
2020-02-04 22:38:44 +13:00
Roland Praml and rob bygrave
f161a38334
FIX: Regression of #1775 - set date for other platfroms broken, when ebean.dataTimeZone is set to GMT
2020-02-01 15:59:18 +13:00
Roland Praml and rob bygrave
13f8da6b2e
FIX: Add cause to exception
2020-02-01 14:07:09 +13:00
rob bygrave
9ad14c5306
#1926 - Postgres (Multi value bind) fix related to empty idIn() expression
2020-02-01 14:05:12 +13:00
rob bygrave
61ed4a5a74
Merge branch 'master' of github.com:ebean-orm/ebean
2020-02-01 13:51:48 +13:00
Roland Praml and rob bygrave
521b6a36ef
changed ip.ebeaninternal.api.SpiQuery to io.ebean.Query in Server.exists
2020-02-01 13:46:28 +13:00
Roland Praml and rob bygrave
0a6c26e5d3
FIX: Virtual Prüfung
2020-02-01 13:38:56 +13:00
Roland Praml and rob bygrave
33416bffd0
FIX: Detecting MAC address improved
2020-02-01 13:38:44 +13:00
Roland Praml and rob bygrave
4ce484f3f2
FIX: Cache also empty lists
2020-02-01 13:38:21 +13:00
Roland Praml and rob bygrave
c0b6f291a1
FIX: handle empty collection in "in (...)" queries
2020-02-01 13:06:37 +13:00
rob bygrave
9eab67d82e
#1924 - Refactor for Transaction profiling - base on ProfileLocation / remove profileId
2020-02-01 11:31:43 +13:00
rob bygrave
2bb52a9581
#1922 - Performance - Too pessimistic synchronized block for lazy loading on reference bean or l2 cache bean
2020-01-30 18:48:39 +13:00
rob bygrave
a894924e96
#1920 Support @Index concurrently and definition
2020-01-29 20:22:32 +13:00
rob bygrave
acff330b37
#1918 - Ebean 12.1.9 breaks Guice in Stage.PRODUCTION mode for multi tenant apps
2020-01-28 12:07:07 +13:00
rob bygrave
df63eeaa8c
#1915 - Regression with DiscriminatorValue since #1361
2020-01-28 10:21:29 +13:00
rob bygrave
bb56725b12
Use unique index rather than constraint when using formula [like lower(column)]
2020-01-15 16:58:55 +13:00
rob bygrave
05be24b8b2
ENH: Support @Index platforms attribute - platform specific indexes
...
This is a potential alternative to using extra-dll.xml. Might be
appropriate to use over extra-dll in small simple cases.
We might look to extend this in the future to allow full raw platform specific ddl - the ability to specify the entire create index statement.
2020-01-15 15:47:14 +13:00
rob bygrave
07f4ad2500
Change to use @Aggregation as meta annotation - support newly added @Max, @Min, @Avg annotations
2020-01-14 16:14:14 +13:00
rob bygrave
1e266a1532
#1895 - Ebean creates invalid sql for particular @ManyToOne
2020-01-10 23:32:58 +13:00
rob bygrave
792785dabe
Fix for #1902 #1908 - change allowing view based entities to be autoTunable
2020-01-10 14:02:12 +13:00
rob bygrave
d70a49e105
No effective change - refactor tidy DefaultOrmQuery
2020-01-10 12:55:05 +13:00
Roland Praml and rob bygrave
159a9a8e54
#1902 - SingleAttributeQueries with child selection only does not work with autoTune=false (e.g. Views)
2020-01-10 12:49:20 +13:00
rob bygrave
ec55b2f096
Refactor for query plan capture with initial threshold micros - part 3
...
Use QueryPlanInit
2019-12-24 02:02:11 +13:00
Rob Bygrave and GitHub
b854943a86
Merge pull request #1899 from ebean-orm/feature/queryPlanCapture
...
Refactor for query plan capture with initial threshold micros
2019-12-24 00:54:37 +13:00
rob bygrave
8a263d243c
Refactor for query plan capture with initial threshold micros - part 2
2019-12-24 00:29:46 +13:00
Rob Bygrave and GitHub
0a4f93adc5
#1897 - Indexes names, like index, unique, primary and foreign keys does not honor ebean.allQuotedIdentifiers ( #1898 )
2019-12-23 18:43:41 +13:00
rob bygrave
ffb11019fa
#1896 - ebean.allQuotedIdentifiers is ignored for @JoinColumn
2019-12-23 13:30:28 +13:00
rob bygrave
6fcac27dfe
Refactor for query plan capture with initial threshold micros
2019-12-23 10:28:08 +13:00
rob bygrave
c6062fe93e
#1893 - @DbArray with @NotNull ... should persist empty db array rather than fail NOT NULL constraint
2019-12-17 20:27:53 +13:00
rob bygrave
b3077d44f6
#1890 - Deprecate createSqlUpdate() ... migrate to sqlUpdate()
2019-12-13 13:48:53 +13:00