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
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
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
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
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
0e3f47ee82
No effective code change: Fixwarnings, overrides, generics etc. ( #1285 )
2018-02-27 10:15:19 +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
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
Roland Praml and Rob Bygrave
91cb5a23fd
Fix dbmigration ( #1277 )
...
ENH: Support adding a '-- Generated by' comment to DDL including version and timestamp
2018-02-26 12:37:54 +13:00
Rob Bygrave
21182da793
Fix test LoaderTest
2018-02-26 09:18:45 +13:00
Roland Praml and Rob Bygrave
e3425a8850
FIX: possible resource leaking in testcases (all created transactions are closed by followed try statement) ( #1273 )
2018-02-26 08:40:53 +13:00
Rob Bygrave
8e9843ab8a
#1246 - Support use of application.yml and application-test.yml ... (as alternative to ebean.properties, test-ebean.properties)
2018-02-26 08:35:47 +13:00
Rob Bygrave
75462e7410
#1272 - ENH: Add built in support for Joda Period and java time Period
2018-02-23 17:54:02 +13:00
Rob Bygrave
265bda8cf2
#1272 - ENH: Add built in support for Joda Period
2018-02-23 17:41:01 +13:00
Rob Bygrave
ff111eaf33
#1063 - Add Event Listeners capable of being notified for delete by id
...
Adds BeanDeleteIdRequest and adds a method to BeanPersistController and BeanPersistAdapter
2018-02-23 14:34:08 +13:00
Rob Bygrave
f8ea5619d0
#1268 - SQL Server fix for "for update" plus Sequences support plus refactor of sequences
2018-02-22 22:45:44 +13:00
Rob Bygrave
8ee68ac5e1
#1269 - Paging queries should not ALWAYS append an order by ID ... but only when the order by is empty
2018-02-22 22:40:22 +13:00
Rob Bygrave
ec7b376612
Test only change - fix test assert for sql server
2018-02-22 22:12:30 +13:00
Rob Bygrave
eaa48468cd
#1174 - ENH: Support mapping @TenantId to an entity bean via @ManyToOne
2018-02-21 09:44:37 +13:00
Rob Bygrave
81d48d67a7
#123 - Mapping - Add support for OneToMany JoinTables
2018-02-20 14:40:21 +13:00
Rob Bygrave
40634412f5
#323 - DDL Generation support for foreign key cascade options
2018-02-19 22:24:37 +13:00
Rob Bygrave
ac36172cc6
#997 - TypeReflectHelper does not resolve type variables correctly in non-trivial cases
...
Part 2 - Fix the failing test, swap in use of TypeResolver and remove all the unused features.
2018-02-16 12:47:10 +13:00
Rob Bygrave
1829c74694
#997 - TypeReflectHelper does not resolve type variables correctly in non-trivial cases
...
Initial failing test ... and TypeResolver prior to cleanup
2018-02-16 12:25:07 +13:00
Rob Bygrave
a5c6f483b0
#1258 - ENH: Add ServerConfig notifyL2CacheInForeground option ... was ServerCachePlugin BackgroundExecutor problem
2018-02-16 11:18:17 +13:00
Rob Bygrave
7c477827fe
#1259 - Throw explicit mapping error when an Enum is mapped to both ORDINAL and STRING
2018-02-14 12:39:35 +13:00
Rob Bygrave
b2967dec1e
#1257 - ServerConfig with register = true, defaultServer = false ... fails as it tries to create the default server
2018-02-13 16:22:52 +13:00
Rob Bygrave
a95fd063ae
#1256 - Query where many isNotEmpty() ... on ManyToMany with SoftDelete produces incorrect SQL (Part 2)
2018-02-13 14:52:18 +13:00
Rob Bygrave
17a54e3804
No effective change - extra tests for DeployPropertyParser
2018-02-13 14:09:08 +13:00
Rob Bygrave
2f47235018
#1255 - Regression on raw LIKE expression with slashes on Postgres
2018-02-09 21:28:39 +13:00
Rob Bygrave
bbef5a6bbb
#1243 - Add IDENTITY support for Oracle platform (since 12c Oracle supports auto generated identity)
2018-02-02 23:18:23 +13:00
Rob Bygrave
4645fd9725
Cleanup tests for Oracle
2018-02-02 23:17:21 +13:00
Rob Bygrave
823cb45221
Cleanup tests for Oracle
2018-02-02 23:17:03 +13:00
Rob Bygrave
f9cd955f7a
#1245 - Refactor internals - Add to TransactionManager externalRemoveTransaction() and externalBeginTransaction()
...
These provide a better/tidier way for external transaction managers (like ebean-spring-txn) to begin and end externally
managed transactions.
2018-01-31 13:28:42 +13:00
Rob Bygrave
51d2e4c600
ENH: Add ProfileLocation - Part 2 - performance metrics for transactions with label and profileLocation
2018-01-22 14:54:27 +13:00
Rob Bygrave
07cdf64ece
#1238 - Refactor MetaInfoManager - collect query plan stats, fix collection of stats on UpdateQuery
2018-01-19 01:07:37 +13:00
Rob Bygrave
b9ae76d465
#1237 - ENH: Add ProfileLocation - support for relating performance metrics for queries and transactions back to source line of code
2018-01-18 18:10:03 +13:00
Rob Bygrave
932986a6b5
#1232 - Performance: Add support for a second read-only DataSource (for implicit query-only transactions)
2018-01-09 16:35:22 +13:00
Rob Bygrave
58d6b2c24e
Merge branch 'master' of github.com:ebean-orm/ebean
2018-01-06 12:52:38 +13:00
Rob Bygrave
3c7ef7d46e
#1229 - Implement equals and hashCode on ModifyAwareMap, ModifyAwareList and ModifyAwareSet
2018-01-06 12:51:50 +13:00
rob bygrave
7110f4a59b
No effective change - remove unused HashQueryPlan etc
2017-12-28 16:17:00 +13:00
Rob Bygrave
e07bd8f736
#1223 - Support mapping @DbArray to a List or Set of enums
2017-12-13 21:15:19 +13:00
Rob Bygrave
c7f4b56dd1
#1225 - ENH: Extend L2 server cache (near caching) for clearing "near caches"
2017-12-13 02:09:10 +13:00
Rob Bygrave
69c045443c
#1218 - ENH: Bump to migration 11.2.1 with support for options patchInsertOn and patchResetChecksumOn
2017-11-23 19:05:35 +13:00
Rob Bygrave
b9380aa5b8
No effective change - add property test for ServerConfig jsonDateTime
2017-11-22 21:21:09 +13:00
Rob Bygrave
7ff3d703f7
#1215 - ENH: Add Query setBeanCacheMode(CacheMode) ... with a view to it replacing the existing setUseCache(boolean) and setLoadBeanCache(boolean)
2017-11-19 20:16:40 +13:00
Rob Bygrave
ef91c643ed
#1214 - ENH: Add inPairs() expression - support L2 cache hits for complex natural key with findList() and in pairs expression
2017-11-19 16:47:32 +13:00