Rob Bygrave and GitHub
2236e4bfd7
Refactor PlatformDdl separate call to asIdentityColumn() ( #1961 )
2020-03-01 10:42:41 +13:00
rob bygrave
6d1c3738de
#1960 - CVEs - Update postgresql and h2 jdbc drivers (provided scope only)
2020-02-28 16:22:48 +13:00
rob bygrave
20160144f5
No effective change - remove unused snakeyaml.version from pom
2020-02-22 14:42:00 +13:00
rob bygrave
891166507d
Test only - restore postgres9 and postgres10 migration resources for CI postgres
2020-02-22 13:36:33 +13:00
rob bygrave
bce97b1063
Test only - add dummy files for pg9 and pg10 DbMigrationTest for running on CI (with old postgres)
2020-02-22 12:54:16 +13:00
Rob Bygrave and GitHub
c5b960c588
Merge pull request #1959 from ebean-orm/feature/1955
...
#1953 - Do we need SqlServer2005Platform and SqlServer2005SqlLimiter?
2020-02-22 12:47:13 +13:00
rob bygrave
009b400ed3
Test only - delete test/resources/dbmigration/migrationtest/postgres10 and postgres9
2020-02-22 12:45:07 +13:00
rob bygrave
b6ee6ade8c
Test only - update ddl review for postgres
2020-02-22 12:44:00 +13:00
rob bygrave
0891c067d5
#1953 - Do we need SqlServer2005Platform and SqlServer2005SqlLimiter?
2020-02-22 11:48:16 +13:00
Rob Bygrave and GitHub
7b3b32f0ff
Merge pull request #1957 from ebean-orm/feature/1955
...
#1955 #1956 SqlQuery.mapToScalar() and SqlQuery.mapTo(RowMapper)
2020-02-22 11:25:48 +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
5213e8b653
Fix test merge for StartPostgres9 - using int for port
2020-02-22 09:24:58 +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
Rob Bygrave and GitHub
444c868124
Refactor to use avaje config ( #1894 )
...
* Move to use Avaje Config for properties loading
2020-02-22 09:11:37 +13:00
rob bygrave
81b16b8f73
[maven-release-plugin] prepare for next development iteration
2020-02-22 08:59:33 +13:00
rob bygrave
850db70be3
[maven-release-plugin] prepare release ebean-12.1.13
ebean-12.1.13
2020-02-22 08:59:20 +13:00
rob bygrave
ee81ee4d7c
test only update of ddl review for mysql-create-all.sql
2020-02-22 08:50:32 +13:00
Rob Bygrave and GitHub
4cbeb282eb
Merge pull request #1954 from boeckers/added_MySqlDbExpression.json
...
Add JSON expression handing for MySql - MySqlDbExpression.json
2020-02-22 08:40:09 +13:00
Michael Böckers
5278c010ba
added MySqlDbExpression.json
2020-02-21 12:58:18 +01:00
rob bygrave
ea490a5ac3
Collect the DB schemas in the model via MTable
2020-02-21 17:16:28 +13: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 and GitHub
a23d9f7db8
Merge pull request #1949 from sebastianmrozek/master
...
Test usingDatabase with a non default db
2020-02-20 22:43:53 +13:00
Sebastian Mrozek
b1704ff5dc
Test usingDatabase with a non default db
...
Move the test to separate class with better name.
2020-02-20 22:13:38 +13:00
rob bygrave
c0d752b445
#1941 - @History it seems does not work well when it got generated with ebean.allQuotedIdentifiers enabled
2020-02-20 16:51:07 +13:00
Rob Bygrave and GitHub
ef5ea59559
Merge pull request #1948 from ebean-orm/feature/queryUsingDatabase
...
ENH: Add query.usingDatabase(database)
2020-02-20 16:42:25 +13:00
rob bygrave
de42655bbd
Refactor tests using assertSql() helper method
...
This helper method trims column alias from the sql (for Oracle)
2020-02-20 15:08:43 +13:00
rob bygrave
661230909c
ENH: Add query.usingDatabase(database) - add better test
2020-02-19 11:48:47 +13:00
rob bygrave
e9325a81f7
ENH: Add query.usingDatabase(database)
2020-02-19 11:41:06 +13:00
Rob Bygrave and GitHub
78b9066345
Merge pull request #1946 from ebean-orm/feature/orderByDeprecate
...
Deprecate orderBy() migrate to order()
2020-02-19 10:00:15 +13:00
rob bygrave
1959e01844
Javadoc update only - change server to database in examples
2020-02-18 23:43:39 +13:00
rob bygrave
cf6179c86b
Deprecate orderBy() migrate to order() - update javadoc
2020-02-18 23:36:48 +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
171d1a19f4
#1937 - When add a new col with @DbComment in Entity,the DbMigration does not generate comment ddl
2020-02-17 14:19:19 +13:00
rob bygrave
cbaaad89ab
#1942 - Bump datasource to 4.7.3, includes - datasource.offline() closes busy connections ... should let them close on return
2020-02-17 11:51:40 +13:00
Rob Bygrave and GitHub
413290a040
Merge pull request #1939 from ebean-orm/feature/1938
...
#1938 - API consistency add setParameters(varargs) & setParameter() - migrate from setNextParameter() and setParams()
2020-02-17 11:37:34 +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
d236988035
[maven-release-plugin] prepare for next development iteration
2020-02-09 22:23:59 +13:00
rob bygrave
df0d84424c
[maven-release-plugin] prepare release ebean-12.1.12
ebean-12.1.12
2020-02-09 22:23:48 +13:00
rob bygrave
fb30a15a5b
Update to ebean-maven-plugin 12.1.12
2020-02-09 22:21:14 +13:00
rob bygrave
3707d611b1
No effective change - EBasicVer extend Model
2020-02-07 22:07:38 +13:00
rob bygrave
60aa720777
No effective change - javadoc format SpiTransaction
2020-02-07 20:53:08 +13:00
rob bygrave
427152a894
Add test for IllegalStateException("Transaction is Inactive")
2020-02-07 20:15:59 +13:00