Rob Bygrave
af2b8976fa
#1346 - Since ebean version 11.12.1 executing docStore query with findPagedList fails with error (due to order by id)
2018-03-12 18:28:17 +13:00
Rob Bygrave
85bfe3d03e
#1345 - Refactor io.ebean.meta.MetaInfoManager API (query execution metrics). Breaking change for people collecting query execution metrics.
2018-03-10 02:51:51 +13:00
Rob Bygrave
eda6350d89
#1344 - ENH: Add initial Cockroach DB support ... need to review JSON
...
Adds in the DB ARRAY support (exactly the same as Postgres)
2018-03-09 17:40:34 +13:00
Rob Bygrave
8ac1b745df
#1344 - ENH: Add initial Cockroach DB support ... need to review JSON and DB ARRAY support
2018-03-09 16:54:38 +13:00
Rob Bygrave
6c8cf0c5b7
#1343 - Update for ... #1283 ENH: Support simplified test configuration (with docker setup typically via application-test.yml)
...
DefaultContainer with config.loadFromProperties(PropertiesLoader.load()); effectively runs eval twice on properties which is unnecessary.
Additionally add ServerConfig.setRunMigration() because I think it makes more sense / easier to find.
Remote PropertiesLoader.setProperty() as it is no longer required for the ebean-test-config plugin.
2018-03-09 10:34:25 +13:00
Rob Bygrave
2042bdf29a
#1342 - Refactor and rename DbTypeConfig to Platform config to support multi-platform db migration
2018-03-08 23:23:50 +13:00
Rob Bygrave
7252e2d7d9
#1318 - ENH: native UUID-support for SqlServer
...
Merge branch 'native-uuid-sqlserver' of https://github.com/FOCONIS/ebean into FOCONIS-native-uuid-sqlserver
# Conflicts:
# src/main/java/io/ebean/config/dbplatform/sqlserver/SqlServerBasePlatform.java
2018-03-08 19:34:09 +13:00
Rob Bygrave
4fc7898f85
#1340 - Split SQL Server Platform into SqlServer16 and SqlServer17 (where 2017 which uses UTF8 types nvarchar etc and prefers Sequences).
...
Changes to main
2018-03-08 17:36:53 +13:00
Rob Bygrave
6258a5d263
Logging only change - Drop the logging from WARN to DEBUG for beans without an Id property (which is not usual but valid for Ebean)
2018-03-08 14:36:18 +13:00
Rob Bygrave
c0efd49c73
#1341 - Cascade persist with JDBC batch and BeanPersistAdapter with preUpdate() that invokes lazy loading on persisted bean ... results in OptimisticLockException
2018-03-08 14:12:32 +13:00
Rob Bygrave
8711ebc6f7
Merge branch 'fix-limit-constraint-names' of https://github.com/FOCONIS/ebean into FOCONIS-fix-limit-constraint-names
2018-03-07 17:13:56 +13:00
Rob Bygrave
2019bc7bf1
#1336 - Change DDL generation such that it does create index before alter table add foreign key
2018-03-07 02:19:10 +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
a18cac035b
#1333 - ENH: Support "dynamic formula" with findSingleAttributeList() ... e.g. .select("concat(lastName,', ',firstName)")
...
Support property alias via "AS" ... concat(lastName,', ',firstName) as lastName
2018-03-06 21:14:26 +13:00
Rob Bygrave
873c14faaf
#1333 - ENH: Support "dynamic formula" with findSingleAttributeList() ... e.g. .select("concat(lastName,', ',firstName)")
...
Support cast of formula like ... select("max(updtime)::Instant")
2018-03-06 20:58:30 +13:00
Rob Bygrave
e1af7c29eb
#1333 - ENH: Support "dynamic formula" with findSingleAttributeList() ... e.g. .select("concat(lastName,', ',firstName)")
...
Concat automatically maps to String ScalarType
2018-03-06 17:35:26 +13:00
Rob Bygrave
c1c85b67c2
#1333 - ENH: Support "dynamic formula" with findSingleAttributeList() ... e.g. .select("concat(lastName,', ',firstName)")
2018-03-06 17:29:45 +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
Rob Bygrave
62cdfb3209
#1330 - Update ANTLR dependency to 4.7.1
2018-03-05 19:22:38 +13:00
Rob Bygrave
740532da4b
#1329 - Ebean 11.12.1 broken when using ScalarTypeConverter with enum
2018-03-05 19:19:27 +13:00
Rob Bygrave
aad5b33db2
#1297 - ENH: Add DtoQuery ... such that we can map native SQL queries automatically into "DTO beans"
2018-03-02 23:32:01 +13:00
Roland Praml and Rob Bygrave
5801f7620d
FIX: add columnDefaultValue to more places ( #1327 )
2018-03-02 16:39:53 +13:00
Roland Praml
20e46cad9b
Merge remote-tracking branch 'ebean/master' into native-uuid-sqlserver
2018-03-02 03:18:20 +01:00
Rob Bygrave
98e014f8c8
#1300 - NEW: FetchCountDistinct ... add example to javadoc + support chaining use via ExpressionList
2018-03-02 14:30:38 +13:00
Rob Bygrave
09786a7062
#1301 - No effective change - format lines
2018-03-02 13:30:40 +13:00
Rob Bygrave
54530248a5
#1312 - ENH: added SqlRow factory method to RawSqlService
...
Support the PR added binaryOptimizedUUID
2018-03-02 13:25:55 +13:00
Roland Praml
9953ef35eb
ENH: native UUID-support for SqlServer
2018-03-02 01:14:42 +01:00
Roland Praml
fdafa776e1
Merge remote-tracking branch 'ebean/master' into fix-limit-constraint-names
...
# Conflicts:
# src/test/resources/dbmigration/migrationtest/db2/1.0__initial.sql
# src/test/resources/dbmigration/migrationtest/db2/1.1.sql
# src/test/resources/dbmigration/migrationtest/db2/1.3.sql
2018-03-02 01:03:36 +01:00
Roland Praml
392eb2744d
ADD: comment
2018-03-02 00:17:23 +01:00
Roland Praml and Rob Bygrave
b642b3c644
FIX: Splitcolumns must return an empty array if string was empty ( #1315 )
...
* Add test suite from rpraml
* FIX: Splitcolumns must return an empty array if string was empty
* Just the reference scripts
2018-03-02 12:16:29 +13:00
Roland Praml and Rob Bygrave
0e1c815826
FIX: DataReader was read twice in exception-path ( #1314 )
2018-03-02 12:15:01 +13:00
Roland Praml and Rob Bygrave
83b463040f
ENH: Add sanity check to InExpression ( #1313 )
2018-03-02 12:14:09 +13:00
Roland Praml and Rob Bygrave
aea7d937eb
ENH: added SqlRow factory method to RawSqlService ( #1312 )
...
* ENH: added SqlRow factory method to RawSqlService
* compile fixes
* ADD: sqlRow factory also to RawSqlBuilder
2018-03-02 12:13:16 +13:00
Roland Praml and Rob Bygrave
78628ffad0
NEW: DB-with-Master option ( #1311 )
2018-03-02 12:12:34 +13:00
Roland Praml and Rob Bygrave
56a742ad70
NEW: UUID version 1 generator ( #1309 )
...
* NEW: Uuid Type 1 generator
* Remove parameter (from other PR)
* FIX: Mac detection
* Have to use nodeId in generation
2018-03-02 12:09:21 +13:00
Roland Praml
a4415b03ff
FIX: limit the constraint names
2018-03-02 00:08:52 +01:00
Roland Praml and Rob Bygrave
e252f71792
ENH: Optimized binary form for UUID (Type 1) ( #1308 )
...
* ENH: Optimized binary form for UUID (Type 1)
* added missing parameter in test
2018-03-02 12:04:56 +13:00
Roland Praml and Rob Bygrave
18ca3403ac
NEW: flag to control, if javax.validation NotNull annotation should generate a NotNull column or not ( #1306 )
2018-03-02 12:02:02 +13:00
Roland Praml and Rob Bygrave
efe325034b
NEW: Ebean.checkUniqueness - you can check a bean, if save would work ( #1303 )
2018-03-02 11:57:44 +13:00
Roland Praml and Rob Bygrave
0c368ed7b3
FIX: extra-ddl can contribute to "drop-all" script, otherwise the drop all script is not appyable to h2:file ( #1301 )
2018-03-02 11:48:35 +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
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
525afbc00f
#1296 - where().exampleLike(bean) ... with 'empty bean' produces invalid SQL
2018-03-01 13:38:09 +13:00
Rob Bygrave
6f2e1c0248
#1295 - Multiple platform DbMigration generation with non-native boolean type (BIT, INTEGER etc) produces incorrect DDL for other DB Platform with native boolean
2018-03-01 12:55:22 +13:00
Rob Bygrave
0d0a3422fc
#1283 - ENH: Support simplified test configuration (with docker setup typically via application-test.yml)
...
Refactor tidy - no effective change on this commit.
2018-02-28 21:11:49 +13:00
Rob Bygrave
c8e199177c
#1294 - NPE when delete cascade from bean with SoftDelete to imported OneToOne without SoftDelete
2018-02-27 15:31:26 +13:00
Rob Bygrave
45a023f0e4
#1282 - Not supported for @DbArray mapping when using kotlin var instead of val
2018-02-27 14:25:44 +13:00
Rob Bygrave
06bce35f5a
#1293 - Refactor - move JdbcClose into io.ebean.util ... from io.ebeaninternal.util as it is used in public API (platform code, sequences etc)
2018-02-27 12:56:20 +13:00
Roland Praml and Rob Bygrave
3dfdd0e2e8
#1292 - Fix for non-native / number boolean types (MySql, SqlServer, Oracle, Sqlite, SqlAnywhere) removing "default 0" + Fix for DB2 add foreign key update clause
2018-02-27 11:58:10 +13:00
Rob Bygrave
a569c7fc96
#1275 - Additional refactor of DefaultOrmQuery.prepareForPaging() for - Add ServerConfig.setDefaultOrderById() ...
...
Remove use of SpiOrmQueryRequest<T> request
2018-02-27 11:35:10 +13:00