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
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
0e219a9bc6
Revert #1263 - ENH: Make Transaction API Fluid such that we can set multiple thing like batchSize and label in a fluid fashion #1276
2018-02-26 11:45:49 +13:00
Roland Praml and Rob Bygrave
0de084caec
removed escapeLikeCharacter method, as it is covered by parent implementation ( #1274 )
2018-02-26 08:42:18 +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
7d0ed261b5
#1271 - ENH: Add BeanFinder and BeanRepository ... such that there is a read to go base class for DI repository style
2018-02-23 16:55:07 +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
8b18e907af
#1063 - Add Event Listeners capable of being notified for delete by query or update by query
...
Adds QueryType and adds method query.getQueryType() which then can be used in a BeanQueryAdapter
2018-02-23 14:04:36 +13:00
Rob Bygrave
4a243a76a7
#1270 - Multi-tenant - partition mode - Delete by id does not include tenantId value in predicate
2018-02-23 10:26:47 +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
e3fac7c622
#1269 - Paging queries should not ALWAYS append an order by ID ... but only when the order by is empty
2018-02-22 22:43:14 +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
4d122ea05b
#1267 - DDL issue on @OneToMany @JoinTable ... extra unnecessary index created on fk column
2018-02-22 22:09:53 +13:00
Rob Bygrave
83384c6f0e
#323 - DDL Generation support for foreign key cascade options
...
Tidy up, no GLOBAL_DEFAULT.
2018-02-21 11:04:04 +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
3e8b06e38e
#994 - @OneToOne cacade does not honor orphanRemoval = true
2018-02-20 16:59:55 +13:00
Rob Bygrave
81d48d67a7
#123 - Mapping - Add support for OneToMany JoinTables
2018-02-20 14:40:21 +13:00
Rob Bygrave
8d0df6541e
Merge branch 'issue/1263-transaction-api'
2018-02-19 22:47:42 +13:00
Rob Bygrave
2be3099d55
#1228 - Add support to not generate FK Constraint when @JoinColumn(foreignKey=@ForeignKey(ConstraintMode.NO_CONSTRAINT))
2018-02-19 22:45:47 +13:00
Rob Bygrave
40634412f5
#323 - DDL Generation support for foreign key cascade options
2018-02-19 22:24:37 +13:00
Rob Bygrave
3d62e84d59
#1263 - ENH: Make Transaction API Fluid such that we can set multiple thing like batchSize and label in a fluid fashion
2018-02-16 14:40:35 +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
cc7e22014d
#997 - TypeReflectHelper does not resolve type variables correctly in non-trivial cases
...
Initial failing test ... and TypeResolver prior to cleanup
2018-02-16 12:24:57 +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
5237e8ba66
#1261 - ENH: Support use of getGeneratedKeys with SqlUpdate
2018-02-16 09:45:49 +13:00
Rob Bygrave
9926cad7f1
#1262 - ENH: Support firstRow maxRows with findNative()
2018-02-16 00:11:27 +13:00
Rob Bygrave
628af31ddd
#1142 - Mapping - Add support for @OrderColumn (Ebean automatically maintains an order column)
2018-02-15 22:31:41 +13:00
Rob Bygrave
31cac60393
#107 - Mapping - Add support for @PrimaryKeyJoinColumn/@PrimaryKeyJoinColumns
...
Adds Bi-directional support
2018-02-15 00:49:51 +13:00
Rob Bygrave
842292ef6b
#107 - Mapping - Add support for @PrimaryKeyJoinColumn/@PrimaryKeyJoinColumns
2018-02-14 22:59:57 +13:00
Rob Bygrave
2a986ab590
#1260 - Mark query.setForUpdate(true) as deprecated - migrate to query.forUpdate()
2018-02-14 15:28:13 +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
f1c2f134ad
#1255 - Regression on raw LIKE expression with slashes on Postgres
...
Related update for Sqlite
2018-02-10 00:56:05 +13:00
Rob Bygrave
175714046a
#1254 - SpringJdbcTransactionManager inifinite recursion #1254
...
Yeah, nah. This is the real fix. Expose:
SpiTransaction TransctionManager.getInScope();
... and have ebean-spring-txn SpringJdbcTransactionManager call it instead of getActive().
2018-02-09 23:03:07 +13:00
Rob Bygrave
73b2cc55f3
#1254 - SpringJdbcTransactionManager inifinite recursion #1254
...
Fix. Note tested in ebean-spring-txn.
2018-02-09 22:22: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
abcc651e7f
#1253 - Query where many isNotEmpty() ... on ManyToMany with SoftDelete produces incorrect SQL
...
Fix
2018-02-09 15:00:58 +13:00
Rob Bygrave
9bade12c9d
#1251 - Delete cascade with 11+ and Postgres throws exception
...
Fix
2018-02-07 16:47:59 +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
b2bbb05b83
#1248 - ENH: Additionally read "db" system property to determine default database (to use when testing with docker against different databases)
2018-02-02 20:49:39 +13:00
Rob Bygrave
5ff71324d0
#1247 - Unique index or primary key violation - when jdbc batch cascading to PrivateOwned child with unique constraint
2018-02-02 20:43:55 +13:00
Rob Bygrave
851f1c98b0
#1245 - Refactor internals - move Transaction ProfileStream creation
...
Stops the profileId parameter pollution, enables to potentially use transaction label
and runtime toggling of collecting transaction profiling detail.
2018-01-31 14:02:50 +13:00
Rob Bygrave
a92e620f7e
#1245 - Refactor internals - move logic to TransactionManager from DefaultServer
2018-01-31 13:36:23 +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
71f66005e7
Merge branch 'master' of github.com:ebean-orm/ebean
2018-01-31 11:57:10 +13:00
Rob Bygrave
b682293a32
#1245 - Refactor internals - move logic to TransactionManager from DefaultServer
2018-01-31 11:56:38 +13:00