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
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 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 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
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
Roland Praml and Rob Bygrave
11e180aa3f
FIX: introduced TransactionalTestCase, so that changes to DB are not persisted ( #1298 )
...
* FIX: introduced TransactionalTestCase, so that changes to DB are not persisted
* removed license header
2018-03-02 09:10:21 +13:00
Rob Bygrave
9e2ddc9f8c
[maven-release-plugin] prepare for next development iteration
2018-03-01 13:43:27 +13:00
Rob Bygrave
d4e72eefa0
[maven-release-plugin] prepare release ebean-11.12.1
ebean-11.12.1
2018-03-01 13:43:14 +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
57b0190cd2
#1283 - ENH: Support simplified test configuration (with docker setup typically via application-test.yml)
2018-02-27 18:28:03 +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
68a470a086
Test change only - No effective change, remove noop ServerConfig.loadTestProperties()
2018-02-27 15:00:13 +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
Rob Bygrave
e751f991cb
#1275 - Additional refactor for - Add ServerConfig.setDefaultOrderById() ...
...
Removes the cast on DefaultOrmQuery.prepare()
2018-02-27 11:31:30 +13:00
Roland Praml and Rob Bygrave
83cf768369
Append preconfigured database to dbMigration ( #1291 )
2018-02-27 11:09:44 +13:00
Roland Praml and Rob Bygrave
bb418456e3
Misc fixes ( #1290 )
2018-02-27 11:06:35 +13:00
Roland Praml and Rob Bygrave
ac9f3408b2
FIX: reset cache statistics (fixes test cases in eclipse when run in different order) ( #1289 )
2018-02-27 11:03:27 +13:00
Roland Praml and Rob Bygrave
78f8d48e2e
FIX: more timing issues - mysql does not support resolution in millis ( #1288 )
2018-02-27 11:00:58 +13:00
Roland Praml and Rob Bygrave
3f8b9529e1
Fix clock sync ( #1287 )
...
Test only change - Fix clock sync timing issues with tests using -DdbClockDelta
2018-02-27 10:59:19 +13:00
Roland Praml and Rob Bygrave
10f3d85d9f
No effective code change - add serialize/serialversionuid ( #1286 )
2018-02-27 10:57:07 +13:00
Roland Praml and Rob Bygrave
0e3f47ee82
No effective code change: Fixwarnings, overrides, generics etc. ( #1285 )
2018-02-27 10:15:19 +13:00
Roland Praml and Rob Bygrave
cdbbd749a3
FIX: h2Merge test - which may fail due timing issues ( #1284 )
...
Test only change - FIX: h2Merge test - which may fail due timing issues
2018-02-27 10:11:10 +13:00
Roland Praml and Rob Bygrave
a712be2917
auomatically append "order by id" when paging and query.orderById = true ( #1275 )
...
Add ServerConfig.setDefaultOrderById() and query.orderById(boolean) ... to control automatically append "order by id" with paging query
2018-02-27 10:09:52 +13:00
Rob Bygrave
0cba0664f8
#1281 - Test change only - default back from sql server to h2
2018-02-26 15:06:17 +13:00
Rob Bygrave
a3e5c3a786
#1281 - Test change only - Update DbMigrationTest for SQL Server using SEQUENCE based Identity
2018-02-26 15:04:57 +13:00
Rob Bygrave
58def02cd1
#1280 - Update test for - Remove "order by" clause of RawSql query when executing findCount()
...
The code fix associated with this is in CQueryBuilder line 276
2018-02-26 14:41:56 +13:00
Rob Bygrave
cec65cc888
#1279 - Change ObjectFactory method to match, tidy format (no real change here)
2018-02-26 14:32:38 +13:00
Roland Praml and Rob Bygrave
da7bb834e7
DbMigration supports altering UniqueConstraints and foreign keys ( #1279 )
...
* NEW: Ebean reads version from pop.properties and prints it at start up
* DDL generation and migration can append a header and platformMigration is prepared to append epilog & prolog to scripts
* FIX: Set identity only, if it is not the platform default type
* Updated reference scripts
* ADD basic support for foreign key migration
* DbMigration detects alter foreign keys
* tests
2018-02-26 14:24:52 +13:00
Rob Bygrave
a64a244745
Bump pom to 11.12.1-SNAPSHOT (Event listener change #1063 , Yaml properties change #1246 )
2018-02-26 13:26:26 +13:00
Rob Bygrave
1c19d4cf7e
#1278 - Multi-tenant delete by id ... doesn't return 0 when no rows deleted
...
Where -1 (jdbc batch) is returned as true as per current behaviour
2018-02-26 13:20:49 +13:00
Rob Bygrave
347225efb2
#1278 - Multi-tenant delete by id ... doesn't return 0 when no rows deleted
2018-02-26 13:16:20 +13:00