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
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
8feb100ac6
#1938 - API consistency add setParameters(varargs) & setParameter() - migrate from setNextParameter() and setParams()
2020-02-15 02:01:02 +13:00
rob bygrave
3707d611b1
No effective change - EBasicVer extend Model
2020-02-07 22:07:38 +13:00
rob bygrave
427152a894
Add test for IllegalStateException("Transaction is Inactive")
2020-02-07 20:15:59 +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
62b1da1be2
#1935 - ENH: Add DB.createTransaction()
2020-02-07 15:52:26 +13:00
rob bygrave
8b4eae2f91
#1934 - ENH: Add methods to Model that take explicit transaction - save(transaction), delete(transaction) ...
2020-02-07 13:00:59 +13:00
rob bygrave
4ed3a18b9d
#1933 - ENH: Add DtoQuery.usingTransaction(Transaction) ... dto query with supplied transaction
2020-02-07 12:42:10 +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
f161a38334
FIX: Regression of #1775 - set date for other platfroms broken, when ebean.dataTimeZone is set to GMT
2020-02-01 15:59:18 +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
e3dba6bfe1
Failing test for idIn() empty
2020-02-01 13:18:42 +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
df63eeaa8c
#1915 - Regression with DiscriminatorValue since #1361
2020-01-28 10:21:29 +13:00
rob bygrave
bb56725b12
Use unique index rather than constraint when using formula [like lower(column)]
2020-01-15 16:58:55 +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 and GitHub
7d98355d39
Merge pull request #1913 from ebean-orm/feature/MaxMin
...
Change to use @Aggregation as meta annotation - support newly added @Max, @Min, @Avg annotations
2020-01-14 16:41:44 +13:00
rob bygrave
56562915bf
#1912 - Allow @Index(unique=true) to support formula in columns
2020-01-14 16:20:02 +13:00
rob bygrave
07f4ad2500
Change to use @Aggregation as meta annotation - support newly added @Max, @Min, @Avg annotations
2020-01-14 16:14:14 +13:00
Rob Bygrave and GitHub
8aa1ed6676
Merge pull request #1909 from ebean-orm/feature/mySqlJson
...
For MySql map @DbJson to mysql JSON db type
2020-01-10 23:59:18 +13:00
rob bygrave
1e266a1532
#1895 - Ebean creates invalid sql for particular @ManyToOne
2020-01-10 23:32:58 +13:00
rob bygrave
57cfd25eb5
#1903 - Add ability to set migration path via DbMigration
2020-01-10 16:06:18 +13:00
rob bygrave
2bcce2e648
For MySql map @DbJson to mysql JSON db type
2020-01-10 14:48:26 +13:00
rob bygrave
792785dabe
Fix for #1902 #1908 - change allowing view based entities to be autoTunable
2020-01-10 14:02:12 +13:00
Rob Bygrave and GitHub
d0cd74b400
Merge pull request #1908 from FOCONIS/test-setdefaultselectclause
...
Testcase for #1902
2020-01-10 13:41:24 +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
Roland Praml
e00713aa29
Testcase for #1902
2020-01-10 01:03:38 +01:00
rob bygrave
ec55b2f096
Refactor for query plan capture with initial threshold micros - part 3
...
Use QueryPlanInit
2019-12-24 02:02: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
8a263d243c
Refactor for query plan capture with initial threshold micros - part 2
2019-12-24 00:29:46 +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
d8d35b7dd9
#1893 - Failing test for @DbArray with @NotNull
2019-12-17 16:42:09 +13:00
rob bygrave
5cd74bc468
#1892 - Refactor change internal use of Ebean to DB
2019-12-13 14:17:05 +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
d4b35cb445
#1889 - NPE at Str.java:16) when using DB.sqlUpdate(...).addBatch() without any bind parameters
2019-12-13 13:35:54 +13:00
rob bygrave
3db2a69312
#1885 - ENH: Add ModuleInfoLoader ... to support automatic registration of entity classes (via generated code using querybean generator)
2019-12-12 01:33:27 +13:00
rob bygrave
dbdac04883
Add more tests for cascade save on tree structure
2019-12-06 20:18:50 +13:00
rob bygrave
0140d09007
Update tests to use io.avaje:mod-uuid
2019-12-05 10:32:19 +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
9841a2c03a
#1880 - Cidr type stored as INET (instead of CIDR) + named as Cdir (typo)
2019-12-04 21:28:27 +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