Michael Böckers
5278c010ba
added MySqlDbExpression.json
2020-02-21 12:58:18 +01:00
rob bygrave
ea490a5ac3
Collect the DB schemas in the model via MTable
2020-02-21 17:16:28 +13:00
rob bygrave
e4390ed8a2
#1952 - Entity bean with @Id and ONLY @WhenCreated treated as reference bean - not inserted
2020-02-21 00:14:23 +13:00
rob bygrave
c0d752b445
#1941 - @History it seems does not work well when it got generated with ebean.allQuotedIdentifiers enabled
2020-02-20 16:51:07 +13:00
Rob Bygrave and GitHub
ef5ea59559
Merge pull request #1948 from ebean-orm/feature/queryUsingDatabase
...
ENH: Add query.usingDatabase(database)
2020-02-20 16:42:25 +13:00
rob bygrave
de42655bbd
Refactor tests using assertSql() helper method
...
This helper method trims column alias from the sql (for Oracle)
2020-02-20 15:08:43 +13:00
rob bygrave
661230909c
ENH: Add query.usingDatabase(database) - add better test
2020-02-19 11:48:47 +13:00
rob bygrave
168dacffa7
Deprecate orderBy() migrate to order()
2020-02-18 23:27:43 +13:00
rob bygrave
171d1a19f4
#1937 - When add a new col with @DbComment in Entity,the DbMigration does not generate comment ddl
2020-02-17 14:19:19 +13:00
rob bygrave
3e43d544fb
#1936 - ENH: Add saveAll(Object... beans) ... using varargs for DB and Database
2020-02-07 16:10:11 +13:00
Rob Bygrave and GitHub
3c9d7e3127
Merge pull request #1925 from ebean-orm/feature/refatorTxnProfile
...
#1924 - Refactor for Transaction profiling - base on ProfileLocation / remove profileId
2020-02-04 22:38:44 +13:00
Roland Praml and rob bygrave
521b6a36ef
changed ip.ebeaninternal.api.SpiQuery to io.ebean.Query in Server.exists
2020-02-01 13:46:28 +13:00
rob bygrave
9eab67d82e
#1924 - Refactor for Transaction profiling - base on ProfileLocation / remove profileId
2020-02-01 11:31:43 +13:00
rob bygrave
2bb52a9581
#1922 - Performance - Too pessimistic synchronized block for lazy loading on reference bean or l2 cache bean
2020-01-30 18:48:39 +13:00
rob bygrave
a894924e96
#1920 Support @Index concurrently and definition
2020-01-29 20:22:32 +13:00
rob bygrave
605150de5c
Update ebean-migration to 12.1.3 with support for Postgres create index concurrently
2020-01-29 11:29:29 +13:00
rob bygrave
05be24b8b2
ENH: Support @Index platforms attribute - platform specific indexes
...
This is a potential alternative to using extra-dll.xml. Might be
appropriate to use over extra-dll in small simple cases.
We might look to extend this in the future to allow full raw platform specific ddl - the ability to specify the entire create index statement.
2020-01-15 15:47:14 +13:00
rob bygrave
57cfd25eb5
#1903 - Add ability to set migration path via DbMigration
2020-01-10 16:06:18 +13:00
rob bygrave
71d762ab97
#1907 - SQL Server DB Migration for uuid property @NotNull - should drop index before drop constraint
2020-01-10 13:09:11 +13:00
Rob Bygrave and GitHub
b854943a86
Merge pull request #1899 from ebean-orm/feature/queryPlanCapture
...
Refactor for query plan capture with initial threshold micros
2019-12-24 00:54:37 +13:00
Rob Bygrave and GitHub
0a4f93adc5
#1897 - Indexes names, like index, unique, primary and foreign keys does not honor ebean.allQuotedIdentifiers ( #1898 )
2019-12-23 18:43:41 +13:00
rob bygrave
6fcac27dfe
Refactor for query plan capture with initial threshold micros
2019-12-23 10:28:08 +13:00
rob bygrave
1fcec429b0
#1893 - @DbArray with @NotNull ... should persist empty db array rather than fail NOT NULL constraint
2019-12-17 20:33:03 +13:00
rob bygrave
c6062fe93e
#1893 - @DbArray with @NotNull ... should persist empty db array rather than fail NOT NULL constraint
2019-12-17 20:27:53 +13:00
rob bygrave
502b20be67
#1891 - Deprecate createSqlQuery() ... migrate to sqlQuery()
2019-12-13 13:58:14 +13:00
rob bygrave
b3077d44f6
#1890 - Deprecate createSqlUpdate() ... migrate to sqlUpdate()
2019-12-13 13:48:53 +13:00
rob bygrave
937df1395c
#1882 - ENH: Add JsonContext.toJsonPretty() ... for pretty JSON output of beans and lists of beans
2019-12-04 22:55:52 +13:00
rob bygrave
74929472d9
#1879 - For metrics reporting for timed metrics with location by default only report on initial collection
2019-12-03 23:53:13 +13:00
rob bygrave
e093675444
#1875 - Refactor simplify MetaTimedMetric removing unrequired getStartTime() and getBeanCount()
2019-11-29 23:42:00 +13:00
Rob Bygrave and GitHub
a04594540c
#1873 - Refactor metrics reporting and collection, simplify removing MetricOrmQueryNode, MetricOrmQueryOrigin ( #1874 )
...
* #1873 - Refactor metrics reporting and collection, simplify removing MetricOrmQueryNode, MetricOrmQueryOrigin
* #1873 - fix test
2019-11-29 23:35:21 +13:00
rob bygrave
27a4e8951d
#1870 - Whether DtoMeta.findproperty needs to add is prefix
2019-11-29 20:54:28 +13:00
Rob Bygrave and GitHub
88839f7613
Refactor rename method ProfileLocation.shortDescription() to location() ( #1859 )
2019-11-20 20:01:45 +13:00
rob bygrave
17ff04e2b9
#1865 - ENH: Add metric collection for ORM insert update and delete
2019-11-19 20:27:04 +13:00
rob bygrave
7d77df58c5
#1780 - Add tests for this RawSql case
2019-11-06 23:30:21 +13:00
rob bygrave
d9323b8ab6
Fix DbMigration test for MySql without I__create_procs.sql
2019-10-10 15:11:25 +13:00
rob bygrave
fdc67b3ce5
#1823 - ENH: Add query.findStream() and query.findLargeStream()
2019-10-10 13:44:29 +13:00
rob bygrave
5e7dda1ec8
#1834 - DDL for ElementCollection that is referenced multiple times includes foreign key constraint
2019-10-08 15:53:29 +13:00
rob bygrave
1c6c812d4d
Update tests change AssertJ StrictAssertions to Assertions
2019-10-06 16:34:44 +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
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