[RECALLED] Re: [VOTE] Apache Cayenne release 3.0B1

2009-11-02 Thread Andrus Adamchik
So Lachlan just confirmed that there's no issue with callbacks. We are cleared to go ahead with the release. However since there were a few new bugs discovered and fixed in the last week, I am recalling this vote, and will tag 3.0-STABLE branch one more time and post the new artifacts somew

Re: Making sense of callbacks

2009-11-02 Thread Lachlan Deck
Ugh -- sorry all. We did have some custom code handling this after all that needed updating. So on initial test it seems fine. On 02/11/2009, at 2:23 PM, Andrey Razumovsky wrote: So you've not configured callbacks in model - have you added callbacks through LifecycleCallbackRegistry or some

Re: Making sense of callbacks

2009-11-02 Thread Lachlan Deck
On 02/11/2009, at 2:23 PM, Andrey Razumovsky wrote: So you've not configured callbacks in model - have you added callbacks through LifecycleCallbackRegistry or something? Could you give a snippet? Could you ensure that both prePersist and postAdd callbacks are invoked (e.g. add a breakpoint

Re: Eclipse vs. Swing (Re: [jira] Commented: (CAY-762) ERDiagram for Object Entities in Cayenne Modeler)

2009-11-02 Thread Michael Gentry
On Mon, Nov 2, 2009 at 4:55 AM, Andrus Adamchik wrote: > For all its undeniable advantages, IMO the main usability issue with > CayenneModeler is the fact that it is separate from an IDE. This "gap" > results in the following problems: > > 1. Losing work context when switching between the apps: >

Re: CAY-1249 CM: Top menus disappearing after reverse engineering

2009-11-02 Thread Andrus Adamchik
On Nov 2, 2009, at 4:51 PM, Michael Gentry wrote: I say we move the issue to resolved/closed unless it pops up again. Anyone else agree? +1. In fact I just closed it as "Can't reproduce" Andrus

Re: CAY-1249 CM: Top menus disappearing after reverse engineering

2009-11-02 Thread Michael Gentry
I say we move the issue to resolved/closed unless it pops up again. Anyone else agree? mrg On Mon, Nov 2, 2009 at 10:49 AM, Andrus Adamchik wrote: > I don't see it anymore either. So hopefully that was something that Apple > fixed. > > Andrus > > On Nov 2, 2009, at 4:45 PM, Michael Gentry wrote

Re: CAY-1249 CM: Top menus disappearing after reverse engineering

2009-11-02 Thread Andrus Adamchik
I don't see it anymore either. So hopefully that was something that Apple fixed. Andrus On Nov 2, 2009, at 4:45 PM, Michael Gentry wrote: Andrus, I haven't noticed this issue in 3.0B1's modeler (and I've done several schema generations). Perhaps the issue got fixed or an OS X Java update (

CAY-1249 CM: Top menus disappearing after reverse engineering

2009-11-02 Thread Michael Gentry
Andrus, I haven't noticed this issue in 3.0B1's modeler (and I've done several schema generations). Perhaps the issue got fixed or an OS X Java update (I'm on Leopard -- 10.5.8) solved it? I definitely noticed the issue a while back using the 3.0M6 modeler, as did others here. mrg java -vers

Re: Eclipse vs. Swing (Re: [jira] Commented: (CAY-762) ERDiagram for Object Entities in Cayenne Modeler)

2009-11-02 Thread Andrus Adamchik
On Nov 2, 2009, at 2:42 PM, Kevin Menard wrote: At that point, you'd be much better off building it as an RCP app and then looking to integrate that with Eclipse. That's what I was thinking about. Andrus

Re: Eclipse vs. Swing (Re: [jira] Commented: (CAY-762) ERDiagram for Object Entities in Cayenne Modeler)

2009-11-02 Thread Kevin Menard
> I too like the basic concept of an Eclipse based tool. Sure we'll annoy a > bunch of IDEA/Netbeans users, but they can still fire up Eclipse to use the > modeler. Maybe it is 120Mb larger than CayenneModeler, but it still would > work. This, to me, would not be an acceptable solution. I just wo

Re: Eclipse vs. Swing (Re: [jira] Commented: (CAY-762) ERDiagram for Object Entities in Cayenne Modeler)

2009-11-02 Thread Andrey Razumovsky
In the meanwhile, I'll continue my research with JGraph. Nobody knows, what will come out of this plugin idea. After all, provided it is constanly improved, CM can become a "studio" that plugin will never be 2009/11/2 Andrus Adamchik > > On Nov 2, 2009, at 12:17 PM, Andrey Razumovsky wrote: > >

Re: Eclipse vs. Swing (Re: [jira] Commented: (CAY-762) ERDiagram for Object Entities in Cayenne Modeler)

2009-11-02 Thread Andrus Adamchik
On Nov 2, 2009, at 12:53 PM, Bob Schellink wrote: Preferences > General > Workspace > Refresh Automatically Haven't tried it, but looks like something that would cause race conditions, conflicting with command line builds, git updates, etc. Andrus

Re: Eclipse vs. Swing (Re: [jira] Commented: (CAY-762) ERDiagram for Object Entities in Cayenne Modeler)

2009-11-02 Thread Bob Schellink
You guys probably know this already but Eclipse does have support for refreshing files outside the IDE. It uses polling though, so it far from perfect: Preferences > General > Workspace > Refresh Automatically Not sure about IDEA but Netbeans also supports this feature. kind regards bob An

Re: Eclipse vs. Swing (Re: [jira] Commented: (CAY-762) ERDiagram for Object Entities in Cayenne Modeler)

2009-11-02 Thread Andrus Adamchik
On Nov 2, 2009, at 12:17 PM, Andrey Razumovsky wrote: Once again, I'm all for Cayenne-Eclipse plugin, but I'm sceptical about its future in current state of Cayenne community I agree with this assessment. On the other hand there is a chance that starting a prototype will cause interest i

Re: [jira] Commented: (CAY-1300) Format queries in QueryLogger

2009-11-02 Thread Evgeny Ryabitskiy
Yes, I can add joins and some other keywords. Also I can make keywords to upper case and some more tunning. I am wondering if there is some SQL format standard like Sun conventions for Java? It will be nice if you point someone to me... Evgeny. 2009/11/2 Andrus Adamchik : > Agreed - a good idea.

Re: Eclipse vs. Swing (Re: [jira] Commented: (CAY-762) ERDiagram for Object Entities in Cayenne Modeler)

2009-11-02 Thread Andrey Razumovsky
Hi, In ideal world, it is surely better to rewrite modeler with SWT. But CM is too big application to do it in a couple of weekends. My main question is: who will be doing the work? Personally I am weak with SWT and most likely will not participate. Moreover, it is obvious that such plugin will be

Re: Eclipse vs. Swing (Re: [jira] Commented: (CAY-762) ERDiagram for Object Entities in Cayenne Modeler)

2009-11-02 Thread Aristedes Maniatis
On 2/11/09 8:19 PM, Andrus Adamchik wrote: That would've been ideal, but likely won't work. IIRC Mike from WOLips commented on that at one point, saying it is not possible to have a single tool for both Cayenne and EOF. I think he looked at the Modeler initially (or maybe even used some of the co

Re: Eclipse vs. Swing (Re: [jira] Commented: (CAY-762) ERDiagram for Object Entities in Cayenne Modeler)

2009-11-02 Thread Andrus Adamchik
On Nov 2, 2009, at 11:07 AM, Aristedes Maniatis wrote: Well, there already is an ugliness that quite a bit of Modeler specific code lives in the main Cayenne jar. So pulling that out into a ui-core library is probably the first step. Should the main Cayenne jar even know how to *write* th

Re: Eclipse vs. Swing (Re: [jira] Commented: (CAY-762) ERDiagram for Object Entities in Cayenne Modeler)

2009-11-02 Thread Aristedes Maniatis
On 2/11/09 7:55 PM, Andrus Adamchik wrote: Or we can go with some hybrid approach of having an Eclipse plugin exchanging events with the Modeler. Not sure if we can make the user experience as nice, we'll have to support 2 tools instead of 1, and we'll have to support an extra messaging layer. Bu

Eclipse vs. Swing (Re: [jira] Commented: (CAY-762) ERDiagram for Object Entities in Cayenne Modeler)

2009-11-02 Thread Andrus Adamchik
Here is one of those "big strategy" emails that tend to have negative impact on things that we can do here and now, instead of doing the "right" thing some time later. So no intent to discourage CAY-762 implementation, just a somewhat related issue that we may discuss in parallel. For all

Re: [VOTE] Apache Cayenne release 3.0B1

2009-11-02 Thread Andrus Adamchik
Same here. On Nov 2, 2009, at 10:07 AM, Andrey Razumovsky wrote: Actually, no. My test shows everything's all right, so some more info is required 2 ноября 2009 г. 14:01 пользователь Aristedes Maniatis написал: On 2/11/09 6:52 PM, Andrus Adamchik wrote: I will rebuild the release artifa

Re: [VOTE] Apache Cayenne release 3.0B1

2009-11-02 Thread Andrey Razumovsky
Actually, no. My test shows everything's all right, so some more info is required 2 ноября 2009 г. 14:01 пользователь Aristedes Maniatis написал: > On 2/11/09 6:52 PM, Andrus Adamchik wrote: > >> >> I will rebuild the release artifacts (maybe even delete the tag, and >> create a fresh tag from ST

Re: [VOTE] Apache Cayenne release 3.0B1

2009-11-02 Thread Aristedes Maniatis
On 2/11/09 6:52 PM, Andrus Adamchik wrote: I will rebuild the release artifacts (maybe even delete the tag, and create a fresh tag from STABLE, as it contains substantial bug fixes from last week), but let's wait till we come to some conclusion on the Lachlan's issue. I'm not sure if Lachlan w