rob bygrave
1a03e84f0e
#1439 - IllegalArgumentException: No rule for io.ebeaninternal.dbmigration.migration.Sql@315df4bb
2018-06-26 22:40:08 +12:00
rob bygrave
49ab17cd34
#1438 - Mapping of @ElementCollection with an Enum that is otherwise not used produces error
2018-06-26 22:11:40 +12:00
rob bygrave
9cd189034c
#1437 - or(expr, expr) ... where expr has a ToMany should produce a LEFT JOIN (and instead we only get JOIN)
2018-06-26 21:33:44 +12:00
rob bygrave
ed566ca153
#1427 - QueryCache should be cleared, if one of a dependent bean is updated
...
Refactor on PostCommitProcessing with fixes for dependent table invalidation
2018-06-26 00:25:33 +12:00
rob bygrave
9159cec36c
No effective change - remove invalid javadoc on Query due to #1434
2018-06-19 16:35:42 +12:00
rob bygrave
dd8607b072
#1436 - PersistenceException: Query threw SQLException:No ScalarType registered for class java.util.Arrays$ArrayList Query was:select id, name from o_customer where id = any(?)
2018-06-19 15:30:19 +12:00
rob bygrave
ae55b58438
No effective change - remove unused imports
2018-06-19 01:48:45 +12:00
rob bygrave
671d082ad3
#1427 - Map all deleteByIds into a single CacheChangeBeanRemove and use bulk removeAll api to remove from cache
2018-06-19 01:34:28 +12:00
rob bygrave
43e95d81f6
#1427 - RemoteTransactionEvent process dependent tables
2018-06-19 00:50:14 +12:00
rob bygrave
3a64cf6952
#1434 - Remove deprecated API from EbeanServer - finder methods that take explicit transaction. Migrate to use ebeanServer.extended()
2018-06-18 21:34:51 +12:00
rob bygrave
8d976f83a9
#1417 - Breaking API - Remove PersistBatch.INSERT ... migrate to PersistBatch.ALL
2018-06-18 21:15:10 +12:00
rob bygrave
117737c790
#1433 - Remove io.ebeaninternal.api.SpiContainerBootup ... which was replaced by io.ebean.config.AutoConfigure
2018-06-18 20:02:14 +12:00
rob bygrave
085843339f
#1432 - Refactor internals for RemoteTransactionEvent / BeanPersistIds ... to not send inserted ids
2018-06-17 23:34:27 +12:00
rob bygrave
bf33b3f96f
#1431 - Refactor internals for RemoteTransactionEvent binary serialisation
2018-06-17 23:29:11 +12:00
rob bygrave
e1d4159453
#1431 - Refactor internals for RemoteTransactionEvent binary serialisation
2018-06-17 22:25:45 +12:00
rob bygrave
4f1f3cadf9
Merge branch 'feature/query-cache-1427'
2018-06-16 16:02:35 +12:00
rob bygrave
47ac4c5c5b
#1430 - Regression (from 11.10.1) - DataSource user not set ... due to PrimaryServer System.setProperty("ebean_db", defaultServerName);
2018-06-16 15:23:41 +12:00
rob bygrave
9c73309dfd
#1427 - QueryCache should be cleared, if one of a dependent bean is updated
...
Update RemoteTransactionEvent, add (back) common binary message handling (Common to TCP, K8s and upcoming binary pubsub)
2018-06-16 15:15:54 +12:00
rob bygrave
bd3c99e67f
#1427 - QueryCache should be cleared, if one of a dependent bean is updated
...
Wrap Clock as ClockService to use in TransactionManager and DefaultServer (and allow for changing the Clock implementation for testing).
2018-06-16 00:22:44 +12:00
rob bygrave
5adbebaf6e
Merge branch 'master' into feature/query-cache-1427
2018-06-16 00:09:25 +12:00
rob bygrave
6a9ab49ef0
#1427 - QueryCache should be cleared, if one of a dependent bean is updated
...
Propagation across cluster.
2018-06-16 00:09:03 +12:00
rob bygrave
4308a98a0a
#1428 - ENH: Use java.time.Clock for @WhenModified and @WhenCreated and allow it to be Replaceable for testing
...
Adjust such that Clock is on DefaultServer and can be set via ExtendedServer interface
2018-06-15 20:49:14 +12:00
tobias- and Rob Bygrave
f86f1b2647
Replaceable clock ( #1428 )
...
ENH: Use java.time.Clock for @WhenModified and @WhenCreated and allow it to be Replaceable for testing
2018-06-15 20:34:11 +12:00
rob bygrave
96cc8d7605
#1427 - QueryCache should be cleared, if one of a dependent bean is updated
...
Initial work, does not include propagation across cluster.
2018-06-15 17:36:23 +12:00
rob bygrave
59537227b6
#1426 - ENH: Add bitwiseNot expression ... e.g. bitwiseNot("flags", BwFlags.HAS_COLOUR)
2018-06-14 23:28:30 +12:00
rob bygrave
81c6d4601d
#1425 - Stateless update with OneToMany with SoftDelete and deleteMissingChildren = true ... does a hard delete
2018-06-14 16:09:45 +12:00
rob bygrave
e21839de91
#1424 - Deprecate / Move ... finder methods that take explicit transaction to ExtendedServer API
2018-06-14 11:03:29 +12:00
Roland Praml and Rob Bygrave
9ad460ecd8
FIX: applied history drops were not recognized ( #1422 )
2018-06-14 00:07:14 +12:00
rob bygrave
50593a7f9d
#1423 - Close resources - InputStream of entity bean properties of File type
2018-06-14 00:04:43 +12:00
rob bygrave
c088cfa339
#1421 - Nested programatic transaction using auto close / try with resources ... does not end/rollback the parent/outer transaction
2018-06-13 22:22:29 +12:00
rob bygrave
e683e25a95
#1420 - ENH: Add a ServiceLoader mechanism to configure ServerConfig - io.ebean.config.ServerConfigProvider
2018-06-13 21:35:26 +12:00
rob bygrave
c7052c5bfa
#1420 - ENH: Add a ServiceLoader mechanism to configure ServerConfig - io.ebean.config.ServerConfigProvider
2018-06-13 21:30:41 +12:00
rob bygrave
698ee2198d
No effective change - refactor DefaultContainer from iterator to forEach
2018-06-12 22:14:33 +12:00
rob bygrave
91c4eca528
#1419 - Refactor - saveAll() and deleteAll() ... when collections are empty skip transaction init check
2018-06-12 22:08:17 +12:00
rob bygrave
81897bd54d
#1418 - Add saveAll() and deleteAll() to io.ebean.BeanRepository
2018-06-12 21:40:39 +12:00
rob bygrave
2427630c07
#1400 - Postgres @History table sys_period empty with multiple updates
2018-06-11 22:10:43 +12:00
rob bygrave
258e29d2f0
#1415 - Add asDto(Class<D> dtoClass) ... to ExpressionList to support fluid style
2018-06-11 13:29:13 +12:00
rob bygrave
ec2f1f7243
#1414 - Support dynamic aggregate formula without alias e.g. query.select("date, sum(totalKms), sum(hours)")
2018-06-11 13:20:39 +12:00
Rob Bygrave
ca7e5b79b8
#1412 - Fix Resource leaks for properties & yaml files etc - ManifestReader
...
Not fixing a leak but just changing to use try with resources
2018-06-11 00:04:58 +12:00
Rob Bygrave
90dfbcd7b3
#1412 - Fix Resource leaks for properties & yaml files etc - DefaultContainer.checkDataSource()
...
The resource was already being closed properly, changing to use try with resources and note that this now throws PersistenceException if we fail to close() on the connection (which I think is an ok change).
2018-06-11 00:02:14 +12:00
Rob Bygrave
6b39bad4da
No effective change - use JdbcClose for DatabasePlatformFactory
2018-06-10 23:55:45 +12:00
Rob Bygrave
25dea0b5b0
#1412 - Fix Resource leaks for properties & yaml files etc - DefaultAutoTuneService
2018-06-10 23:48:49 +12:00
Rob Bygrave
0069d2fabc
#1412 - Fix Resource leaks for properties & yaml files etc - ExtraDdlXmlReader
2018-06-10 23:46:55 +12:00
Rob Bygrave
98964638ba
#1412 - Fix Resource leaks for properties & yaml files etc - MigrationXmlReader
2018-06-10 23:43:41 +12:00
Rob Bygrave
4573a995f1
#1412 - Fix Resource leaks for properties & yaml files etc
...
No effective change - reformat only
2018-06-10 23:37:28 +12:00
Rob Bygrave
4bc80cc724
#1412 - Fix Resource leaks for properties & yaml files etc - EbeanVersion
2018-06-10 23:36:12 +12:00
Rob Bygrave
a2972abe3e
#1412 - Fix Resource leaks for properties & yaml files etc - DdlGenerator
2018-06-10 23:33:21 +12:00
Rob Bygrave
54eaf561f4
#1412 - Fix Resource leaks for properties & yaml files etc - Loader
2018-06-10 23:31:16 +12:00
Rob Bygrave
3134dd3165
No effective change - reformat only
2018-06-10 23:23:48 +12:00
Roland Praml and Rob Bygrave
8fc6abd480
IOUtils is no longer used, using java 1.7 StandardCharsets makes EncodeUtil also obsolete ( #1410 )
2018-06-10 22:30:47 +12:00