rob bygrave
a5e3a70921
#1685 DefaultServerCache expose hit and miss count to assist testing
...
Expose these counters to assist the testing of duel caches where
DefaultServerCache is used as the near cache.
2019-04-28 09:50:45 +12:00
rob bygrave
c46ac04c0a
#1684 - Fix JSON marshalling on LocalDate, sql.Date etc - explicit UTC
...
Make explicit use of UTC
2019-04-27 10:33:17 +12:00
rob bygrave
25e6d05542
#1685 - Add support for MetaCounterMetrics and refactor DefaultServerCache to use them
2019-04-27 00:34:45 +12:00
rob bygrave
28a70fa550
#1684 - ENH: Support ISO date format for JSON marshalling on LocalDate, sql.Date etc
2019-04-26 19:00:49 +12:00
rob bygrave
86436ac3ac
#1679 - ENH: Support enabling/disabling L2 cache by "region" at runtime
2019-04-24 15:41:07 +12:00
rob bygrave
d32559baf4
#1674 - For ProfileLocation use in constructors trim label <init> to init .... (for safe label)
2019-04-12 02:25:05 +12:00
rob bygrave
2639e799c5
#1673 - ENH: Support ProfileLocation on DtoQuery including via orm query.asDto()
2019-04-12 02:01:01 +12:00
rob bygrave
46c66b7169
#1672 - ENH: Add ebean.dumpMetricsOnShutdown=true ... for dumping metrics
2019-04-12 00:55:39 +12:00
rob bygrave
30ae435f33
#1672 - ENH: Add ebean.dumpMetricsOnShutdown=true ... for dumping metrics
2019-04-12 00:45:00 +12:00
rob bygrave
4f4743807c
#1671 - Use table alias with delete query for Postgres, Oracle, MySql
2019-04-10 01:25:43 +12:00
rob bygrave
4af8e53315
#1670 - Expose metrics as ServerMetrics interface (improvement over existing BasicMetricVisitor use)
2019-04-09 22:54:16 +12:00
rob bygrave
18e0ff7067
#1665 - Incorrect query execution metrics for ORM query converted to DTO query via asDto()
2019-04-01 23:11:16 +13:00
rob bygrave
4119c02f0d
#1663 Additionally trim the OrmQueryDetail.asString() output removing extra whitespace
2019-04-01 23:09:58 +13:00
rob bygrave
32b8fd0e26
#1663 Additionally trim the OrmQueryDetail.asString() output removing extra whitespace
2019-03-29 00:43:32 +13:00
rob bygrave
4971db54c8
#1663 - AutoTune - merge profiling such that "select (orderDate) fetch customer (id)" instead merges to "select (orderDate,customer)"
2019-03-29 00:19:21 +13:00
rob bygrave
fc032c632b
#1658 - ENH: Add label to ProfileLocation and use as default query label
2019-03-27 09:37:35 +13:00
rob bygrave
a3d4b57b94
Merge branch 'feature/1653-clickhouse'
2019-03-20 22:07:42 +13:00
ooknight and Rob Bygrave
3ba9a52b0e
add server config : default enum type ( #1655 )
...
ENH: add server config : default enum type
2019-03-20 21:45:44 +13:00
rob bygrave
409c1d06b2
#1652 - Conversion problem between org.joda.time.LocalDate and java.sql.Date field for dates before Jan 2 1900
2019-03-14 16:08:04 +13:00
rob bygrave
01f2881940
#1653 - ENH: Add support for ClickHouse database
...
With array type conversion etc
2019-03-14 14:44:30 +13:00
rob bygrave
bfeb0cd667
No effective change - update to using "Database" and DB
2019-03-12 14:29:28 +13:00
rob bygrave
a4698ea1b6
#1643 - ENH: Add expression inOrEmpty() ... as a convenience for conditionally added a IN expression
2019-03-01 18:24:00 +13:00
Rob Bygrave and GitHub
5975694538
#1640 - For Postgres support mapping InetAddress to INET db column ( #1641 )
...
* #1640 - For Postgres support mapping InetAddress to INET db column
* #1640 - For Postgres support mapping InetAddress to INET db column
Support for Inet and Cdir types + offlineMigrationGeneration + PlatformConfig.databaseInetAddressVarchar for turning off InetAddress mapping on Postgres
2019-02-21 22:14:21 +13:00
rob bygrave
03a42f7f6e
No effective change - update test DefaultProfileHandlerTest to output profiling files to target
2019-02-21 09:37:14 +13:00
Roland Praml and Rob Bygrave
cb74ef01e0
build on jdk11 ( #1637 )
2019-02-11 22:42:05 +13:00
rob bygrave
ea60e42a4d
#1633 - ENH: Add bind parameter expansion for raw() expressions
2019-02-07 23:29:42 +13:00
rob bygrave
9e1d7ab722
#1631 - Change logging for SqlUpdate ... such that it is more consistent with other SQL logging wrt JDBC batch
2019-02-07 17:20:49 +13:00
rob bygrave
f9d13cbba7
Merge branch 'master' of github.com:ebean-orm/ebean
2019-02-04 11:55:04 +13:00
rob bygrave
f787483e30
#1629 - ENH: Add sqlQuery(sql) and sqlUpdate(sql) ... as alias for createSqlQuery(sql) and createSqlUpdate(sql)
2019-02-04 11:54:45 +13:00
rob bygrave
9e33f36808
#1629 - ENH: Add sqlQuery(sql) and sqlUpdate(sql) ... as alias for createSqlQuery(sql) and createSqlUpdate(sql)
2019-02-04 11:14:54 +13:00
Roland Praml and Rob Bygrave
6a7e6caa66
Test fixes ( #1628 )
...
* FIX: mysql index sizes
* FIX: osolete whitespace in sqlserver tests
* Updated mssql-jdbc, this fixes problems in the batch insert (https://github.com/Microsoft/mssql-jdbc/pull/912 )
* fix tablename (reserved word in mariadb)
* ignored failing tests for sqlserver
2019-02-04 09:20:09 +13:00
rob bygrave
c3f586c461
Merge branch 'feature/1624-Database'
2019-02-03 22:21:36 +13:00
rob bygrave
a24e6b6064
#1623 - DbOrderByTrim doesn't remove asc/desc if you're sorting by a function called on a column
...
This fix removes the word boundary check prior to the blank space for asc and desc (allowing the preceeding char to be a brace or anything)
2019-02-02 00:40:56 +13:00
rob bygrave
f3cb7e2cfd
#1624 - ENH: Create io.ebean.DB as alias for Ebean and io.ebean.Database as alias for EbeanServer
2019-02-01 22:53:41 +13:00
rob bygrave
89beaee0f6
#1621 - Consider clean up white space in generated SQL (as in remove unneeded extra spaces)
2019-01-25 01:47:21 +13:00
rob bygrave
eb1bca805e
#1619 - Support aggregation formula on fetch clause e.g. query.fetch("machineUsage", "sum(totalKms)")
2019-01-23 16:45:47 +13:00
rob bygrave
d4139aa8ef
#1616 - Enhance EQL grammer 1) Allow select without ( and ) 2) support aggregate functions min,max,sum,count,avg 3) support quoting fetch paths (that are keywords)
...
Fix test for Postgres any()
2019-01-22 21:23:16 +13:00
rob bygrave
a6cfed7c44
#1616 - Enhance EQL grammer 1) Allow select without ( and ) 2) support aggregate functions min,max,sum,count,avg 3) support quoting fetch paths (that are keywords)
2019-01-22 21:12:18 +13:00
rob bygrave
141f0a8b16
Testing out concept - aggregation formula on fetch clause
2019-01-22 15:56:20 +13:00
rob bygrave
0cb8bb0415
#1611 - ENH: Add inRange expression (as half open expression) ... (property >= lowerValue and property < upperValue)
...
Add inrange to EQL grammer
2019-01-21 20:28:38 +13:00
rob bygrave
471691c747
#1611 - ENH: Add inRange expression (as half open expression) ... (property >= lowerValue and property < upperValue)
2019-01-21 20:01:57 +13:00
rob bygrave
c86e6b3cf9
#1610 - Refactor: Change SQL logging such that jdbc batch use is more obvious
2019-01-21 19:31:28 +13:00
rob bygrave
7984a9ccd1
No effective change - update test to use try with resources
2019-01-16 11:13:43 +13:00
Roland Praml and Rob Bygrave
5fe532c393
Refactor: relpaced system-property "ebean.ignoreExtraDdl" with serverConfig flag ( #1597 )
2019-01-09 16:17:11 +13:00
rob bygrave
8a34d6050b
#1607 - ENH: Add query.exists() query ... as a convenience for "does a row exist" check
2019-01-09 13:59:53 +13:00
rob bygrave
0397140e0b
#1589 - Refactor internals move SqlQuery sqlDistinct ... to SqlTreeNodeRoot (query plan)
2018-12-21 15:57:07 +13:00
rob bygrave
baa3909c63
#1586 - ENH: Add TimedMetric.addSinceNanos() ... as a helper when using start nanos
2018-12-21 02:28:23 +13:00
rob bygrave
81f42f8e95
#1587 - Fix for propagation of @Cache(nearCache=true)
2018-12-21 02:19:21 +13:00
rob bygrave
0377e3ec5c
#1586 - ENH: Add TimedMetric.addSinceNanos() ... as a helper when using start nanos
2018-12-21 02:10:16 +13:00
rob bygrave
049cacad1c
#1583 - ENH: Add type safe ServerConfig getServiceObject(Class<P> cls) and putServiceObject()
2018-12-19 21:14:25 +13:00