rob bygrave
1c6c812d4d
Update tests change AssertJ StrictAssertions to Assertions
2019-10-06 16:34:44 +13:00
rob bygrave
e58a85f0af
#1356 - allQuotedIdentifiers must be respected by DDL
2019-10-06 16:32:06 +13:00
rob bygrave
5138d1723f
Merge branch 'feature/1656'
2019-10-05 23:20:26 +13:00
rob bygrave
9b5ab542d7
#1827 - @UniqueConstraint columnNames should be respecting ebean.allQuotedIdentifiers
2019-10-05 22:37:06 +13:00
rob bygrave
fcadc63338
#1656 #1824 Stateless updates - Remove update deleteMissingChildren option, instead always use orphanRemoval
2019-09-20 17:12:32 +12:00
rob bygrave
a2b418df8b
#1820 - ENH: For DB Migration add setLockTimeout(10); ... to add Postgres set lock_timeout = to generated migrations
2019-09-12 20:59:52 +12:00
rob bygrave
2fb533a606
#1819 - ENH: For DB Migration support dbMigration.setAddForeignKeySkipCheck(true);
2019-09-12 20:34:37 +12:00
rob bygrave
5d89897bbd
#1817 - Rename @DbHstore to @DbMap
2019-09-12 17:02:53 +12:00
rob bygrave
46eeee68c9
#1814 - Support older MySQL 5.5
2019-09-11 21:37:52 +12:00
rob bygrave
be66872249
#1800 Adjust to allow for null schema and table names
2019-08-25 11:32:08 +12:00
rob bygrave
85a0354d42
#1800 No effective change, test only, static imports and organise imports
2019-08-25 11:19:07 +12:00
rob bygrave
0b8613fd4c
#1800 - Additional test exercising RawSqlBuilder.sqlRow(resultSet, ...);
2019-08-25 11:16:07 +12:00
Manuel Danisch and Rob Bygrave
e734c0010c
If the map already contains the column name, add schema and table names before the key to make it unique again ( #1800 )
2019-08-25 11:09:32 +12:00
rob bygrave
9155716752
#1795 - Refactor bind padding for Id IN expressions (based on internal multiValueSupport and simple id)
2019-08-18 16:33:36 +12:00
rob bygrave
464ed4322e
#1794 - Also support "inRange" camelcase version of "inrange" in EQL
2019-08-15 23:58:58 +12:00
rob bygrave
c3f556f0dc
#1794 - Extend EQL to support inOrEmpty, eqOrNull, gtOrNull, ltOrNull
2019-08-15 23:40:19 +12:00
rob bygrave
c530883e5e
#1793 - ENH: Add filterMany() that takes expressions ... as a simpler option
2019-08-15 22:05:46 +12:00
rob bygrave
06542b031e
Initial refactor to extract EqlWhereListener
2019-08-15 20:21:01 +12:00
rob bygrave
4b5365e708
#1792 - ENH: Support using Query beans for building FetchGroup (in a type safe manor)
2019-08-14 22:52:18 +12:00
Rob Bygrave and GitHub
1d471fee92
#1768 - Initial refactor extracting CallOrigin interface ( #1791 )
2019-08-14 17:02:57 +12:00
rob bygrave
c640524bfc
#1788 - ENH: Add support for NuoDB database platform
2019-08-11 16:24:37 +12:00
rob bygrave
bb7df71391
#1782 - ENH: Add truncate(Class<?>... types) and truncate(String... tables)
2019-08-10 21:40:23 +12:00
Roland Praml
b111fcfecc
refresh does not work on oneToMany if property was not yet accessed
...
(cherry picked from commit 446103e6e06d7583f8b2bb847907d7fc77a8be9f)
2019-07-26 12:14:30 +02:00
André Camilo and Rob Bygrave
f77388738b
ENH: backdoor to disable @Transactional during unit testing ( #1756 )
2019-07-16 23:09:04 +12:00
rob bygrave
23cd9b6a93
Remove use of agent-loader
...
Enhancement always done via maven plugin or Ebean IDE plugin (javaagent)
2019-07-14 15:21:55 +12:00
rob bygrave
a932d61a94
#1737 - PersistenceException while using aggregate query on related entity
...
This part includes support for joins off an aggregation formula
on a ManyToOne.
e.g. We use min(customer) ... to 'query join' to customer
in the query below.
List<Contact> contacts = Ebean.find(Contact.class)
.select("lastName, min(customer)")
.fetchQuery("customer", "name, status")
.findList();
2019-06-28 21:03:14 +12:00
rob bygrave
24b08663af
#1737 - PersistenceException while using aggregate query on related entity
...
Fix excluding the ability to additionally join (off the min(manyToOne))
2019-06-28 20:16:05 +12:00
rob bygrave
b7d5aa344f
Fix test only - add missing assert on NoopExpressionTest
2019-06-13 00:11:34 +12:00
rob bygrave
7e768623e4
#1730 - Fix for wrong JDBC batch sorting / ordering
...
This is a bit of a refactor that simplifies the ordering of
batch execution (BatchedBeanHolder ordering). In short we
batch by bean type and depth (rather than just type).
This means that there are some cases we are not optimal
(where we could batch by bean type in different depths)
but that is expected to be rare and problematic for
hierarchies of the same type.
2019-06-12 23:41:48 +12:00
Rob Bygrave and GitHub
6af5fae8e9
#1727 - Refactor internals to use Instant for json parse on date time types ( #1728 )
2019-06-10 16:16:04 +12:00
Snōwball and Rob Bygrave
c14cb4b85e
Add (failing) java 11 to travis - date time parsing with nanos precision ( #1724 )
...
* Add (failing) java 11 to travis
* Extra test-case for date parser
2019-06-04 21:56:25 +12:00
rob bygrave
a94f5d74ca
No effective change - add test for select formula with positioned parameters
2019-05-21 16:59:39 +12:00
Rob Bygrave and GitHub
7fbdab6220
Refactor TableModState to use nanoTime refactor ( #1720 )
...
* #1719 - Refactor TableModState to use nanoTime
* Tests only - reduce logging
2019-05-21 00:42:17 +12:00
Rob Bygrave and GitHub
c6ba4d8155
Refactor DefaultTransactionThreadLocal, convert ThreadLocal to field (from map) ( #1716 )
...
* Refactor DefaultTransactionThreadLocal, convert ThreadLocal to field (from map)
* Add test for multiple database thread locals
2019-05-18 15:16:17 +12:00
rob bygrave
1042fdb280
Merge branch 'feature/1711-v2'
2019-05-18 11:43:51 +12:00
Roland Praml and Rob Bygrave
197056dbc5
Refactor: Ebean uses the MigrationVersion from the ebean-migration artifact ( #1713 )
2019-05-18 11:32:17 +12:00
Roland Praml and Rob Bygrave
895b5ee4ff
The BaseTestCase ensures, that the threadLocal is cleared after each test. ( #1712 )
...
* The BaseTestCase ensures, that the threadLocal is cleared after each test.
* Change JdbcTransaction.toString to distingush between active and inactive transaction
2019-05-18 11:28:46 +12:00
rob bygrave
c839fe6520
Adjustment on #1711 , more explicit clearing of inactive transactions from thread local
2019-05-18 11:21:11 +12:00
Rob Bygrave and GitHub
2b1b4af7a2
Merge pull request #1710 from FOCONIS/sqlserver-platform-test
...
New test for SqlServerPlatform
2019-05-18 09:48:59 +12:00
Roland Praml
fe7d73a4a4
New test for SqlServerPlatform
2019-05-17 18:07:24 +02:00
Roland Praml
81e86b07e3
Refactor Tests: Check idType instead of assuming idType for a platform
2019-05-17 16:38:25 +02:00
rob bygrave
3dd5069f5a
#1698 FIX for IAE "key can't be empty" in System.getProperty()
...
That is, assertEquals("${}", PropertyEval.eval("${}"));
... for when we load properties that include the "${}" placeholder
2019-05-16 20:26:45 +12:00
Rob Bygrave and GitHub
8e9d644bc6
Merge pull request #1697 from ebean-orm/feature/1695-binary
...
#1695 - For MySql like remove the binary keyword + Add caseSensitiveCollation configuration option
2019-05-16 19:46:38 +12:00
rob bygrave
9da7c9468e
#1695 Add caseSensitiveCollation configuration option
...
This is really only to use with testing via
platform.isCaseSensitiveCollation() to determine
which asserts/tests apply (based on collation).
2019-05-15 16:19:12 +12:00
rob bygrave
654c3f7f67
#1695 - For SQL Server like remove the binary collation (Latin1_General_BIN)
2019-05-12 15:22:08 +12:00
rob bygrave
c61e6b04a2
Update sql server testing
2019-05-12 11:41:24 +12:00
Roland Praml
579c1efcf6
Add tests and fixes in hashCode
2019-05-08 17:00:08 +02:00
rob bygrave
c10ad11b8b
No effective change - add example use of PathProperties
2019-05-08 22:50:37 +12:00
rob bygrave
4aa8a0dc63
#1694 - findList() with firstRows/maxRows adds "order by id" (even with orderById(false))
2019-05-03 14:33:42 +12:00
Rob Bygrave and GitHub
7e6d059ef1
Merge pull request #1690 from ebean-orm/feature/1686
...
#1686 - Change the default JSON format to ISO8601 for date and datetime types (from epoch millis)
2019-04-30 20:18:20 +12:00