Re: Problems with MySql id type with AUTO_INCREMENT

2006-10-02 Thread Tobias SCHOESSLER
Sorry,the problem with the sequoia jdbc driver returning Integer Type for the PK as described below is solved. It was not an issue of cayenne at all. There were some problem with the update of the schema. sequoia worked with the old INT UNSIGNED schema tested earlier. So MySQL 5, Sequoia, db side

[OT] sync large db over slow network

2006-10-02 Thread Tore Halset
Hello. We have a large database for a cayenne server application. The database engine is currently MS SQL Server, but we will perhaps switch over to PostgreSQL at some point in time. For disaster recovery we want to have a mirrored system somewhere else in the world. It is ok if the

Re: Cayenne web site design

2006-10-02 Thread Kevin Menard
Andrus Adamchik wrote: My idea of how this should be organized is to show at most 2-3 releases that we think of as current to avoid the clutter. And then add Other... menu item in the bottom of documentation section that points to the docs collections for the old releases. 1.1 should

Re: Cayenne web site design

2006-10-02 Thread Kevin Menard
Aristedes Maniatis wrote: o We should probably have the 1.1 documentation on the site. This could be marked as a legacy release. 1.2 is still fairly young, however, so we should make it easy for those still using 1.1 to get appropriate support. Hands up anyone using 1.1... thought so...

Re: Cayenne web site design

2006-10-02 Thread Andrus Adamchik
So let me repost how the menu may look like with old releases links: * Version 2.0 * Version 1.2 * Legacy Releases * Development Release (Version 3.0) Legacy Releases can either expand down to two more levels, or simply open a page listing all of them. Andrus On Oct 2, 2006, at 12:24 PM,

Re: How to use TransactionDelegate to do audit logging?

2006-10-02 Thread Aristedes Maniatis
On 9/30/06, Jeff de Vries [EMAIL PROTECTED] wrote: What I'm *really* trying to do is that we have about 15-20 different types of alerts, and a bunch of rules that specify some additional processing that needs to take place when certain types of alerts are generated. Rather than scatter the

Re: Cayenne web site design

2006-10-02 Thread Aristedes Maniatis
On 03/10/2006, at 2:40 AM, Andrus Adamchik wrote: So let me repost how the menu may look like with old releases links: * Version 2.0 * Version 1.2 * Legacy Releases * Development Release (Version 3.0) Legacy Releases can either expand down to two more levels, or simply open a page listing

Re: How to use TransactionDelegate to do audit logging?

2006-10-02 Thread Andrus Adamchik
Yeah, need to write the docs. Here is a short example: DataDomain domain; int callbackType; // types are defined in 'org.apache.cayenne.map.LifecycleEventCallback' interface domain.getEntityResolver().getCallbacks(callbackType).addListener( MyClass.class,

Re: Cayenne web site design

2006-10-02 Thread Kevin Menard
Aristedes Maniatis wrote: On 02/10/2006, at 11:11 PM, Kevin Menard wrote: Not necessarily. I'm unaware of any rule that states you can't have multiple links to the same item in different places ;-) I don't agree. I think there is a rule (an unwritten usability principle) that says this is

Re: How to use TransactionDelegate to do audit logging?

2006-10-02 Thread Jeff de Vries
Thanks! Couple more questions ... 1) Where do I get 3.0? Nightly snapshot? Is any one more stable than any other? Any installation instructions? Or things to watch out for? 2) Is the handleCallback argument actually the name of the method to call as the callback, aka myPostPersist? 3)