Re: [ANN] Apache Cayenne 4.0 final is released

2018-12-05 Thread Malcolm Edgar
; > > On Aug 20, 2018, at 1:09 PM, Andrus Adamchik > wrote: > > > > It was a long road, and we finally made it! Cayenne 4.0 final / GA is > officially released and available for download from Apache [1] as well as > from Maven Central. Official release news are posted h

Re: [ANN] Apache Cayenne 4.0 final is released

2018-12-01 Thread Andrus Adamchik
I only took me 3.5 month to blogging about 4.0, but I finally did it :) https://twitter.com/andrus_a/status/1068810303121629184 Andrus > On Aug 20, 2018, at 1:09 PM, Andrus Adamchik wrote: > > It was a long road, and we finally made it! Cayenne 4.0 final / GA is > officia

[ANN] Apache Cayenne 4.0 final is released

2018-08-20 Thread Andrus Adamchik
It was a long road, and we finally made it! Cayenne 4.0 final / GA is officially released and available for download from Apache [1] as well as from Maven Central. Official release news are posted here [2]. I'd like to thank everybody who made it happen: developers, users, testers, the entire

[ANN] Cayenne 4.0.RC1 released

2018-04-26 Thread Andrus Adamchik
Glad to announce Cayenne 4.0 release candidate. It returns color to Cayenne Modeler icons and adds support for Retina display on MacOS (see screenshot at [1]). Also a few issues with Java 9 support are addressed. Also there's a number of bug fixes in the runtime (also see [1]). We are happy

[ANN] Cayenne 4.0.B2

2017-10-07 Thread Andrus Adamchik
On behalf of all Cayenne developers I am glad to announce the second Beta release of Cayenne 4.0 [1]. With feature freeze, we've spent a lot of effort stabilizing the 4.0. The new release includes 16 bug fixes [2]. Documentation has been expanded, including the use of the new query column API

[ANN] Apache Cayenne 4.0 Beta released

2017-06-12 Thread Andrus Adamchik
Very happy to announce Cayenne 4.0 Beta! After "just" 5 years we felt we had enough new features and need to wrap up and stabilize :) Seriously though, 4.0 is awesome and if you haven't had a chance to upgrade yet, now is the time! The API is frozen. There's nothing for you to lose by

[ANN] Cayenne 4.0.M5 is released

2017-03-06 Thread Andrus Adamchik
I am glad to announce that the fifth milestone of Cayenne 4.0 has been released and is now available from the download page [1] and from Maven Central. Some release highlights: * New fluent API for SQL functions (including long-awaited aggregate functions). * Auto-loading of additional Cayenne

Re: Issue while accessing primary key in cayenne 4.0.M4

2017-01-22 Thread Andrus Adamchik
Yeah, it is a bit confusing. We had discussions on improving this UI and we may still do it. This field is a regex (or a comma, separated list of regex's ? :)). Anyways, to include all tables, you need to enter ".*" in there. Andrus > On Jan 20, 2017, at 7:48 PM, sagar bijlwan

Re: Issue while accessing primary key in cayenne 4.0.M4

2017-01-20 Thread sagar bijlwan
Thanks Andrus for the prompt reply, I think how I was able to generate setter for the PK in Cayenne 3. 1. While reengineering DB schema in modeler, there is a checkbox for meaningful PK. 2. I checked that one and hence it resulted in setter for PK. However, in revamped UI of 4.0.M4, this

Re: Issue while accessing primary key in cayenne 4.0.M4

2017-01-20 Thread Andrus Adamchik
Actually NOT making PK a part of the object model was a default in Cayenne since day 1. 1. If all you need is to read the PK value, you can use Cayenne.pkForObject(..) 2. If this is a meaningful PK and you need a setter, just create a new ObjAttribute in the Modeler manually and map it to PK

Issue while accessing primary key in cayenne 4.0.M4

2017-01-20 Thread sagar bijlwan
Hello, In cayenne 3 primary key column is also available as a property in auto generated java model so it can be easily accessed using setters and getters, However, it seems same can't be said about cayenne 4. When I am generating Java model of the same DB table, I am only getting PK column (

[ANN] Cayenne 4.0.M4 is released

2016-12-15 Thread Andrus Adamchik
Very glad to announce a new 4.0 milestone release. It was a great collaborative effort that includes a number of important things. So thanks to everybody who was involved in it. So M4... * Stabilizes database reverse-engineering tools for DB-first ORM flow. * Plugs holes and omissions in the

Re: Cayenne 4.0 M3 Usable for Production

2016-03-05 Thread Aristedes Maniatis
On 5/03/2016 10:28pm, André Koppany wrote: > Dear Cayenne Team, > > is Cayenne 4.0 Milestone 3 usable for production? > Are there any points where I should take care of? > > Currently we are using cayenne 3.1. Yes, very much so. I've been running 4.0M2 in production for a ve

[ANN] Cayenne 4.0 M3 release

2016-02-16 Thread Savva Kolbachev
Hi All, I'm glad to announce a new milestone release. Lots of new features, bug fixes and other improvements: * Switching to Java 7 * Java 8 Date/Time and Joda-Time Support * Improvements in Query API * Non-blocking DataSource * DBCP2 * Capturing a stream of commit changes and many more. Read

Cayenne 4.0 and logging

2015-05-11 Thread Andrew Willerding
I'm trying to change the logging level for my Cayenne 4.0 project but so far I haven't had any luck. I'm also using log4j2 for the first time in my project. In other projects I have simply followed these instructions to modify the log4j.properties file and everything worked as expected

Re: Cayenne 4.0 and logging

2015-05-11 Thread Alex Kolonitsky
Cayenne uses apache commons logging as logging interface and if you want to use log4j2 implementation you must include dependency to log4j-core and log4j-jcl  https://logging.apache.org/log4j/2.x/maven-artifacts.html#Apache_Commons_Logging_Bridgebridge library: dependency

Re: Cayenne 4.0 and logging

2015-05-11 Thread Mike Kienenberger
You could also look at slf4j for your bridging software. http://www.slf4j.org/legacy.html with log4j-over-slf4.jar convering old log4j version 1 api calls into slf4j calls. From there you can log to whatever you like. Same with old JCL calls. On Mon, May 11, 2015 at 10:24 AM, Aristedes

Re: cayenne 4.0

2015-04-27 Thread Markus Reich
, is it possible with cayenne 4.0 to use a dynamic data map? I have following requirement: I have a db scheme that is fix for all users. I habe a second dynamic scheme where the entities are equal, just the scheme names is dynamic? regards Meex

Re: cayenne 4.0

2015-04-27 Thread Aristedes Maniatis
On 28/04/2015 5:57am, Markus Reich wrote: looks good, how to I get the dataMap? I have two Maps in my Configuration? ObjectContext - EntityResolver - DataMaps -- -- Aristedes Maniatis GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A

Re: cayenne 4.0

2015-04-27 Thread Markus Reich
PERFECT! thx 2015-04-28 0:18 GMT+02:00 Aristedes Maniatis a...@maniatis.org: On 28/04/2015 5:57am, Markus Reich wrote: looks good, how to I get the dataMap? I have two Maps in my Configuration? ObjectContext - EntityResolver - DataMaps -- -- Aristedes Maniatis

Re: cayenne 4.0

2015-04-26 Thread Aristedes Maniatis
Something like: for (DbEntity dbEntity : dataMap.getDbEntities()) { dbEntity.setSchema(schema); } On 27/04/2015 7:35am, Markus Reich wrote: Hi, is it possible with cayenne 4.0 to use a dynamic data map? I have following requirement: I have a db scheme that is fix for all users. I

cayenne 4.0

2015-04-26 Thread Markus Reich
Hi, is it possible with cayenne 4.0 to use a dynamic data map? I have following requirement: I have a db scheme that is fix for all users. I habe a second dynamic scheme where the entities are equal, just the scheme names is dynamic? regards Meex

Re: [ANN] Cayenne 4.0 M2 released

2015-03-26 Thread Savva Kolbachev
Hi Tony! We've resolved the issue. For more information about it, see CAY-1993 https://issues.apache.org/jira/browse/CAY-1993. So now you can download and build the latest Cayenne version. In short: clone a repository from github https://github.com/apache/cayenne and build via 'mvn clean install

Re: [ANN] Cayenne 4.0 M2 released

2015-03-23 Thread tgiaccone
I've experienced a problem, with the new modeler. I've downloaded the new Cayenne 4.0 M2 on two different mac's one running jdk 1.8 and the other running 1.7.0_65 and in both instances reverse engineering didn't work. In each case I started a new model, added a datanode, selected a Postgres

Re: [ANN] Cayenne 4.0 M2 released

2015-03-23 Thread Savva Kolbachev
Hi Tony! We've confirmed the issue and have started working on it. I've experienced a problem, with the new modeler. I've downloaded the new Cayenne 4.0 M2 on two different mac's one running jdk 1.8 and the other running 1.7.0_65 and in both instances reverse engineering didn't work

[ANN] Cayenne 4.0 M2 released

2015-03-19 Thread Andrus Adamchik
I am glad to announce a very important and long-overdue milestone release. As you may know already, we renamed version 3.2 to 4.0 as the scope had been vastly expanded. So 4.0.M2 is a direct successor of 3.2M1. Lots of very exciting new features: * Fluent type-safe Query API * Powerful

Re: [ANN] Cayenne 4.0 M2 released

2015-03-19 Thread Andrus Adamchik
Oh and I should also mention - if you can please spread the word on Twitter (you can retwit our announcement at https://twitter.com/ApacheCayenne/status/578463231762673665 ), Facebook, blogs, etc. This is really an attention-worthy milestone. Andrus On Mar 19, 2015, at 10:13 AM, Andrus

Re: [ANN] Cayenne 4.0 M2 released

2015-03-19 Thread Lon Varscsak
Awesome! -Lon On Thu, Mar 19, 2015 at 12:58 AM, Andrus Adamchik and...@objectstyle.org wrote: Oh and I should also mention - if you can please spread the word on Twitter (you can retwit our announcement at https://twitter.com/ApacheCayenne/status/578463231762673665 ), Facebook, blogs, etc.