rob bygrave
6fcac27dfe
Refactor for query plan capture with initial threshold micros
2019-12-23 10:28:08 +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
590cd07d67
#1892 - Refactor change internal use of Ebean to DB
2019-12-13 14:20:51 +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
91e7540a39
#1888 - Bump ebean-migration 12.1.2 with updated avaje classpath scanner
2019-12-13 13:06:13 +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
5a983b9e0d
No effective change - fix spelling in comments
2019-12-11 23:22:30 +13:00
rob bygrave
1d369c002d
#1880 - Change javadoc references from Cdir to Cidr
2019-12-05 21:20:19 +13:00
rob bygrave
5a1be81603
#1881 - Update Postgres init helper procedures for DB table partitions
2019-12-05 20:10:15 +13:00
rob bygrave
da5604a38d
#1880 - Cidr type stored as INET (instead of CIDR) + named as Cdir (typo)
2019-12-05 08:59:39 +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
rob bygrave
e274a4c512
#1878 - Remove metric type from metric json output
2019-12-03 21:06:13 +13:00
rob bygrave
5d93c44475
#1877 - Adjust metric names add "orm." prefix for orm queries, "dto." for dto queries
2019-12-03 21:01:03 +13:00
rob bygrave
5f8690fb87
#1876 - findMap() does not use/hit natural key cache
2019-12-02 18:37:42 +13:00
rob bygrave
e093675444
#1875 - Refactor simplify MetaTimedMetric removing unrequired getStartTime() and getBeanCount()
2019-11-29 23:42:00 +13:00
Rob Bygrave
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
be12910aec
#1872 - Reporting ORM metrics defaults to suppressing sql and location after initial collection
2019-11-29 22:05:58 +13:00
rob bygrave
27a4e8951d
#1870 - Whether DtoMeta.findproperty needs to add is prefix
2019-11-29 20:54:28 +13:00
rob bygrave
1fc4082abe
#1869 - out of order nextId() sequence generation
2019-11-29 19:58:12 +13:00
rob bygrave
67c2e1d24c
#1871 - Add ability to write metrics in JSON form to Appendable
2019-11-29 17:19:01 +13:00
rob bygrave
eb292e017e
#1868 - Change the Metric "sqlHash" into a hash of the SQL + name + location
2019-11-20 20:15:32 +13:00
Rob Bygrave
88839f7613
Refactor rename method ProfileLocation.shortDescription() to location() ( #1859 )
2019-11-20 20:01:45 +13:00
rob bygrave
6c91ed0c76
#1866 - Refactor logging messages for L2 cache - "PUT ALL" -> "MPUT"
2019-11-20 00:26:26 +13:00
rob bygrave
8761c0486d
#1865 - ENH: Add metric collection for ORM insert update and delete
2019-11-19 20:31:48 +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
aa11095d17
Reduce to package visibility for internals BatchDepthComparator, BatchedBeanHolder, BatchedPstmtHolder
2019-11-18 23:14:25 +13:00
rob bygrave
c2a30f786f
#1864 - L2 cache miss for natural key property of type UUID
2019-11-17 17:06:38 +13:00
rob bygrave
aa96d10491
Refactor tidy after #1863 . Add NaturalKeyEntrySimple for single property natural key lookup.
2019-11-16 21:48:37 +13:00
rob bygrave
dfefbecf44
#1863 - L2 cache miss on natural key cache when multiple properties that include a ManyToOne
2019-11-16 17:03:34 +13:00
rob bygrave
566a01d815
#1858 - Modify JSON dumped metrics to include metric type and location for timed metrics
2019-11-10 21:23:26 +13:00
rob bygrave
a7116d1606
No effective change - tidy only
2019-11-10 11:36:28 +13:00
rob bygrave
01054bf470
#1855 - Add MetaInfoManager collectMetricsAsJson()
2019-11-07 16:35:25 +13:00
rob bygrave
affd720390
#1854 - Use profile location label to automatically give good metric name for @Transactional (with profile location enhancement)
2019-11-07 11:18:26 +13:00
rob bygrave
51fad2dec6
Refactor CQueryBuilder extract method, no effective change.
2019-11-06 23:29:33 +13:00
rob bygrave
997378ce72
Refactor internal XServiceProvider service loading
2019-11-06 22:01:37 +13:00
rob bygrave
1a8a43603e
#1849 - JoinColumn not found when using @Encrypted(dbEncryption = true) and findCount
2019-11-06 20:33:56 +13:00
rob bygrave
ecab219635
#1848 - ENH: Add EmptyPagedList ... as helper implementation of PagedList<T>
2019-10-18 17:22:19 +13:00
rob bygrave
1b7dc83a9a
ENH: Add DB.getBeanId() ... to match database.getBeanId()
2019-10-18 16:08:42 +13:00
rob bygrave
dac55ab8e9
#1847 - Delete bean with ManyToMany to always delete from intersection (not required cascade REMOVE)
2019-10-18 15:35:21 +13:00
rob bygrave
9a29c988cd
#1845 - Refactor for Persisting ElementCollection to limit max JDBC batch size
2019-10-17 15:18:43 +13:00
rob bygrave
80309f844e
#1844 - Persisting an update of ElementCollection with JDBC batch, ensure delete, insert batch order
2019-10-17 12:32:13 +13:00
rob bygrave
56ddc49ab4
Element collection persist - initial
2019-10-17 10:17:03 +13:00
rob bygrave
1e7de83019
Element collection persist - initial
2019-10-17 10:15:58 +13:00
rob bygrave
f24b4dba71
#1837 ( #1740 and #1744 ) - Inheritance on both sides of @ManyToOne
...
This change also relates back to #1740 and #1744 and changes the way that issue was fixed (by SqlTreeNodeBean on partially populated non-id inheritance bean).
2019-10-13 11:46:11 +13:00
Rob Bygrave
a474880735
#1837 - Inheritance on both sides of @ManyToOne confuses columns ( #1843 )
...
* #1837 - Inheritance on both sides of @ManyToOne confuses columns
* #1837 - Inheritance on both sides of @ManyToOne confuses columns
Tidy up whitespace in SQL
2019-10-12 00:25:53 +13:00