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
Roland Praml
b8aa822a30
[utf8mb4-support] limited the size of all indexed string columns, as max key length on mysql/mariadb is 767 bytes (which are <= 191 chars on utf8mb4) ( #1264 )
2018-02-19 16:15:28 +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
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
6a067c0cf7
#107 - Mapping - Add support for @PrimaryKeyJoinColumn/@PrimaryKeyJoinColumns
...
Extra test with UUID and optional OneToOne so has left join
2018-02-14 23:09:10 +13:00
Rob Bygrave
842292ef6b
#107 - Mapping - Add support for @PrimaryKeyJoinColumn/@PrimaryKeyJoinColumns
2018-02-14 22:59:57 +13:00
Rob Bygrave
6db9a60f4f
#107 - Fix existing test - Ah ??? ... this PrimaryKeyJoinColumn was ignored and should never have been in this test.
2018-02-14 17:24:14 +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
17a54e3804
No effective change - extra tests for DeployPropertyParser
2018-02-13 14:09:08 +13:00
Rob Bygrave
6474f306b5
#1255 - Regression on raw LIKE expression with slashes on Postgres
...
Related update for Sqlite
2018-02-10 00:57:19 +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
0f7158ea18
Testing - modify .travis to run mysql as service
2018-02-10 00:34:34 +13:00
Rob Bygrave
3fdb76d18f
Testing - modify .travis to run mysql as service
2018-02-10 00:31:39 +13:00
Rob Bygrave
b1027a2f25
Testing - modify .travis to run mysql as docker container
2018-02-10 00:18:33 +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
cebe375856
No effective change - initial docker testing setup for oracle and sqlserver
2018-02-09 21:31:40 +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
17abd6d977
#1255 - Regression on raw LIKE expression with slashes on Postgres
...
Tests
2018-02-09 21:25:36 +13:00
Rob Bygrave
cc5f3689f3
No effective change - modify tests for SqlServer
2018-02-09 21:10:18 +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
caa36262c1
#1253 - Query where many isNotEmpty() ... on ManyToMany with SoftDelete produces incorrect SQL
...
Failing test
2018-02-09 15:00:29 +13:00
Rob Bygrave
7fe3e657d7
No effective change - put default test db back to default to h2
2018-02-07 16:49:49 +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
7a816ae2da
#1251 - Delete cascade with 11+ and Postgres throws exception
...
Failing test
2018-02-07 16:40:12 +13:00
Rob Bygrave
b83412281e
#1251 - Delete cascade with 11+ and Postgres throws exception
...
Failing test
2018-02-07 16:39:58 +13:00
Rob Bygrave
478bba292d
#1250 - Add explicit coverage for Enum with abstract method - no new issue
2018-02-07 14:01:11 +13:00
Rob Bygrave
f9404639d7
Fix test for H2 select for update - my bad.
2018-02-02 23:36:12 +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
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
276c56161a
DiscriminatorColumn length should be 31 ( #1244 )
2018-01-31 08:32:21 +13:00