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
Rob Bygrave
5bd7853ce8
#1245 - Refactor internals - move TransactionMangerScope to be part of TransactionManager
2018-01-31 11:30:11 +13:00
André Camilo and Rob Bygrave
276c56161a
DiscriminatorColumn length should be 31 ( #1244 )
2018-01-31 08:32:21 +13:00
Rob Bygrave
8495ccced6
#1241 - ENH: Support using ebean_db system property to control docker container for testing
2018-01-24 19:17:14 +13:00
Rob Bygrave
07e2605a30
#1240 - ENH: Add support for @Transactional skipCache and label
2018-01-22 22:57:35 +13:00
Rob Bygrave
bce745e88d
#1240 - ENH: Add support for @Transactional skipCache and label
2018-01-22 15:04:13 +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
0a809b0fb3
#1239 - When Transaction.setSkipCache(true) ... Query with useQueryCache is still use L2 query cache
2018-01-19 10:46:49 +13:00
Rob Bygrave
13ddb915c8
No effective change - add javadoc
2018-01-19 09:38:50 +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
82f5c21d26
No effective change - Improve exception error message when property is not found on a bean type
...
Typically using IDE enhancement plugin with incremental compilation where part of an inheritance
hierarchy has been changed but not all related classes recompiled and re-enhanced.
2018-01-12 01:27:24 +13:00
Rob Bygrave
14105eb1eb
#1236 - ENH: Add Transaction.current() ... as alternative to obtain the current transaction
2018-01-11 22:34:31 +13:00