Re: Is there a canonical method of invoking aggregate functions

2015-09-14 Thread John Huss
ERXKey is in cayenne 4.0 and is called Property and the default templates create them for you. On Mon, Sep 14, 2015 at 3:42 PM Joseph Senecal wrote: > > > > Can you give us a short summary of what features Wonder would bring to a > Cayenne developer? > > My favorite Project Wonder extension for E

EventManager example usages

2015-09-14 Thread Matt Watson
I was curious about what you could accomplish with EventManager listeners. I have a scenario where I normally use the Cayenne lifecycle callbacks to detect when an Object was updated, and “sync” it to an external system. class SalesOrder { void sync() { // send data to ex

Re: Is there a canonical method of invoking aggregate functions

2015-09-14 Thread Joseph Senecal
> > Can you give us a short summary of what features Wonder would bring to a > Cayenne developer? My favorite Project Wonder extension for EOF would be the automatically generated ERXKeys. The Project Wonder template would generate a base class with all the getters and setters for a class (bu

Re: Is there a canonical method of invoking aggregate functions

2015-09-14 Thread Andrus Adamchik
> Do we still have the model converter out there? We do. > even back then there were some rough edges. And there are :) Andrus > On Sep 14, 2015, at 11:04 AM, Mike Kienenberger wrote: > > There's a lot of ex-EOF/ex-WO folks involved with this project (including me). > > Do we still have th

Re: Is there a canonical method of invoking aggregate functions

2015-09-14 Thread Mike Kienenberger
There's a lot of ex-EOF/ex-WO folks involved with this project (including me). Do we still have the model converter out there? When I started using Cayenne back in the 1.1 days, we had a converter tool that would create a cayenne project out of an EOF project. I'm not sure if it's still around

Re: Is there a canonical method of invoking aggregate functions

2015-09-14 Thread Michael Gentry
Hi Hugi, if you are using an older Cayenne (3.0/3.1), I have a set of utility functions to do count/sum/avg/min/max with expressions. If using a newer version, perhaps Andrus' changes will help you. Let me know if you want the older versions. mrg On Sat, Sep 12, 2015 at 9:03 AM, Hugi Thordarso

Re: Is there a canonical method of invoking aggregate functions

2015-09-14 Thread Andrus Adamchik
> On Sep 14, 2015, at 5:37 AM, Hugi Thordarson wrote: > >> >> Can you give us a short summary of what features Wonder would bring to a >> Cayenne developer? > > Since Wonder is targeted towards WebObjects development I don’t think the > typical Cayenne developer will gain a lot of features a

Re: Syncing peers in single thread

2015-09-14 Thread Andrus Adamchik
Hi Lon, This is probably doable, but won't be clean or easy. Maybe instead we can rethink the scope of your ObjectContexts. So a few questions: 1. What are you using for the web framework? Is that Tapestry or something else? 2. What is the current scope of ObjectContexts? Is that ObjectContext

Re: Is there a canonical method of invoking aggregate functions

2015-09-14 Thread Hugi Thordarson
>> I've started working on a proposal for the WebObjects-world to migrate >> Project Wonder to Cayenne, > > Sounds great. Its been a long time since I was in the WO world, and although > I used Project Wonder way back then, I find it hard to remember where EOF > stopped and Wonder started. Tha