Return-Path: Delivered-To: apmail-cayenne-user-archive@www.apache.org Received: (qmail 73991 invoked from network); 30 Dec 2008 15:35:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 30 Dec 2008 15:35:26 -0000 Received: (qmail 83251 invoked by uid 500); 30 Dec 2008 15:35:26 -0000 Delivered-To: apmail-cayenne-user-archive@cayenne.apache.org Received: (qmail 83215 invoked by uid 500); 30 Dec 2008 15:35:25 -0000 Mailing-List: contact user-help@cayenne.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cayenne.apache.org Delivered-To: mailing list user@cayenne.apache.org Received: (qmail 83203 invoked by uid 99); 30 Dec 2008 15:35:25 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Dec 2008 07:35:25 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of siberian@siberian.org designates 74.125.78.150 as permitted sender) Received: from [74.125.78.150] (HELO ey-out-1920.google.com) (74.125.78.150) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Dec 2008 15:35:18 +0000 Received: by ey-out-1920.google.com with SMTP id 4so559261eyg.28 for ; Tue, 30 Dec 2008 07:34:57 -0800 (PST) Received: by 10.210.51.18 with SMTP id y18mr17449074eby.103.1230651297386; Tue, 30 Dec 2008 07:34:57 -0800 (PST) Received: by 10.210.70.18 with HTTP; Tue, 30 Dec 2008 07:34:57 -0800 (PST) Message-ID: <479ffcd60812300734w40b6a039j1fcc279f78fdfa1a@mail.gmail.com> Date: Tue, 30 Dec 2008 07:34:57 -0800 From: "John Armstrong" Sender: siberian@siberian.org To: user@cayenne.apache.org Subject: Re: Hinting for datatype in Modeler? In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <479ffcd60812291407x5111d4bbl6a13dfa2d0be83f1@mail.gmail.com> X-Google-Sender-Auth: 9da3fbe7685e8a29 X-Virus-Checked: Checked by ClamAV on apache.org Thanks Tore, a few hours after I sent this I stumbled across the Migrate feature. This feature is amazing and works very well with Firebird for which I use the generic JDBC implementation Thanks everyone, cayenne continues to amaze. I have it working nicely with Wicket now as I migrate away from Struts, very very nice (it just 'works'!) John- On Tue, Dec 30, 2008 at 1:13 AM, Tore Halset wrote: > Hello. > > The new merge functionality in the modeler was created to handle this. > Firebird is not supported, but please try it out and report any problem. > > - Tore. > > On Dec 29, 2008, at 23:07, "John Armstrong" wrote: > >> Hi everyone, >> My database (Firebird) does not support boolean types. Cayenne helps >> me with this by letting me use a char(1) to emulate booleans. Thanks! >> >> The problem I have is that I am doing a lot of back and forth in my >> database design and I treat the database as authoritative rather then >> using the modeler for all activities and just reverse engineer the db >> into the modeler. This means that every time I regen the model this >> way I have to manually set 50+ fields from java.lang.String to boolean >> types. >> >> Anyone have a tip for getting around this? >> >> John- >> >