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
d0b24dc340
#1343 - Update the #1283 ENH: Support simplified test configuration (with docker setup typically via application-test.yml)
2018-03-09 00:44:04 +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
5faec61cd2
#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:36 +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
e182190f96
#1339 - Regression: Fix for not throwing OptimisticLockException when loaded bean has @Version property set
2018-03-07 20:19:48 +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
baa7242939
#1338 - Regression since 11.12.1 - resolve expressions in Properties given to serverConfig.loadFromProperties()
2018-03-07 16:43:42 +13:00
Rob Bygrave
47e8d27212
#1337 - Fix YamlLoader ... such that it loads multi-part yml source
2018-03-07 16:21:00 +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
3cb52917e3
#1335 - Add Try catch to YAML loading ... add system property ebeanSkipYaml ... to enable skipping the read of application.yml (well, all yml)
2018-03-07 02:03:54 +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
83ef204f3c
Merge branch 'master' of github.com:ebean-orm/ebean
2018-03-06 21:15:07 +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
Roland Praml and Rob Bygrave
7e56a147be
FIX: ReadOnlyDatasource must also be configured ( #1323 )
2018-03-05 19:29:40 +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 and Rob Bygrave
8faa95adc1
ENH: new method AnnotationUtil.findMetaAnnotationsRecursive ( #1319 )
...
* ENH: new method AnnotationUtil.findMetaAnnotationsRecursive
* clarified in javadoc
2018-03-02 16:28:41 +13:00
Rob Bygrave
ebaeafc11b
#1303 - NEW: Ebean.checkUniqueness ... add example to javadoc
2018-03-02 16:25:13 +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
78912d75e0
#1306 - No effective change - javadoc update
2018-03-02 13:45:31 +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
94a118d635
FIX: do not set username and password for DbMigrationConfig ( #1304 )
2018-03-02 11:59:01 +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