Re: [ANN] Cayenne 4.2.M2 release

2020-10-13 Thread Nikita Timofeev
Yes, custom functions and operators should work in the WHERE clause too where(TestJson.JSON.operator("->>", String.class, "test").eq("123")) There won't be as much flexibility as in builtin functions though. On Tue, Oct 13, 2020 at 11:56 AM Andrus Adamchik wrote: > > To expand a bit,

Re: [ANN] Cayenne 4.2.M2 release

2020-10-13 Thread Andrus Adamchik
To expand a bit, Cayenne basically provides a way to map DB-specific JSON columns to "org.apache.cayenne.value.Json". This gives a (hopefully) smooth experience reading and writing such values. How to use it: 1. Ensure your DB supports native JSON type (e.g. Postgres) 2. Map your DbAttribute as

Re: [ANN] Cayenne 4.2.M2 release

2020-10-13 Thread Nikita Timofeev
Hi Markus, No docs for that yet, but here's an example of new types usage: https://github.com/apache/cayenne-examples/tree/master/cayenne-jdbc-type-other On Tue, Oct 13, 2020 at 10:41 AM Markus Reich wrote: > > Hi Andrus, > > is there an example or doc for the support of JSON types? > >

Re: [ANN] Cayenne 4.2.M2 release

2020-10-13 Thread Markus Reich
Hi Andrus, is there an example or doc for the support of JSON types? regards Meex Am Di., 13. Okt. 2020 um 08:48 Uhr schrieb Andrus Adamchik < and...@objectstyle.org>: > 4.2.M2 release is out [1]. A few cool things in this release: > > * Support for JSON and geospatial value types. > *

Re: [ANN] Cayenne 4.2.M2 release

2020-10-13 Thread Andrus Adamchik
Hi Jeremy, Not in 4.2 unfortunately, but all these stack changes take us closer to supporting horizontal inheritance. I am pretty optimistic horizontal will be implemented in 5.0 (and vertical - made much less annoying). > If the Cayenne team need helpers / testers / others, just tell me 

Re: [ANN] Cayenne 4.2.M2 release

2020-10-13 Thread Jérémy DE ROYER
Hello Andrus, Is there any plan for horizontal inheritance ? Unfortunately it is a must have for us. If the Cayenne team need helpers / testers / others, just tell me  Many thank's Jérémy > Le 13 oct. 2020 à 08:48, Andrus Adamchik a écrit : > > 4.2.M2 release is out [1]. A few cool things

[ANN] Cayenne 4.2.M2 release

2020-10-13 Thread Andrus Adamchik
4.2.M2 release is out [1]. A few cool things in this release: * Support for JSON and geospatial value types. * Ordering on aggregate functions and in-memory evaluation of aggregate expressions. * Modeler support for downloading JDBC drivers from maven central. * Runtime changes that may be less