Return-Path: Delivered-To: apmail-incubator-ibatis-user-java-archive@www.apache.org Received: (qmail 40969 invoked from network); 16 Mar 2005 22:04:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 16 Mar 2005 22:04:41 -0000 Received: (qmail 26963 invoked by uid 500); 16 Mar 2005 22:04:41 -0000 Delivered-To: apmail-incubator-ibatis-user-java-archive@incubator.apache.org Received: (qmail 26739 invoked by uid 500); 16 Mar 2005 22:04:39 -0000 Mailing-List: contact ibatis-user-java-help@incubator.apache.org; run by ezmlm Precedence: bulk Reply-To: ibatis-user-java@incubator.apache.org List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list ibatis-user-java@incubator.apache.org Received: (qmail 26726 invoked by uid 99); 16 Mar 2005 22:04:39 -0000 X-ASF-Spam-Status: No, hits=0.4 required=10.0 tests=DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from web50708.mail.yahoo.com (HELO web50708.mail.yahoo.com) (206.190.38.106) by apache.org (qpsmtpd/0.28) with SMTP; Wed, 16 Mar 2005 14:04:38 -0800 Received: (qmail 14569 invoked by uid 60001); 16 Mar 2005 22:04:35 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=yi85yc59vZwBRnQspPO6AcMOH6qXqIrztAlWdVJgoHZagt6TZ0sQFf/FmzcSE/APK1Unwo6UT1CclmmtP6/fBgPZ5iC0jSiqnQo1Y3VSn+KPFmnXzs8J2GYNbw6YFbSV8Mm61tEIb9kK6PZxLpdXWLXsPkt8yEGG8D2o6DfxHLc= ; Message-ID: <20050316220435.14566.qmail@web50708.mail.yahoo.com> Received: from [144.15.255.227] by web50708.mail.yahoo.com via HTTP; Wed, 16 Mar 2005 14:04:35 PST Date: Wed, 16 Mar 2005 14:04:35 -0800 (PST) From: Brett Gorres Reply-To: bgorres@yahoo.com Subject: Re: Calling all ibatis + Derby / Cloudscape users [SOLVED] To: ibatis-user-java@incubator.apache.org, cbegin@ibatis.com In-Reply-To: 6667 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Thanks, Clinton for unit testing Derby + ibatis and noting your successes here. That was encouraging. I learned today that I could alleviate my error by prepending "APP." schema name to those problematic table names in my SQL. I will read up on that before I using embedded Derby in another app.* Otherwise, everything went smoothly. (I had sampled various eclipse db / derby plugins and command-line SQL abilities when I created those tables.) Also, apparently in the SQL spec and various RDBMS implementations, your schema names are sometimes interpreted in case sensitive aNd/or case INsensitive manner. I didn't know that was so important. *Meanwhile, my client has decided AGAINST using Derby/Cloudscape in favor of Oracle 9i Lite for this project. Fair enough. They have the licenses. As for me, I will keep an eye on Derby; this was not a bad intro all things considered. And thanks to ibatis I won't dread swapping in different databases. Be agile. Embrace change. Later! Regards, -Brett --- Clinton Begin wrote: > I haven't experienced that problem. I did switch to > Derby for a while > and ran all unit tests against it. I only switched > back because it > wasn't as fast for unit tests as an in memory > HSQLDB. Other than > that, it worked great. > > Cheers, > Clinton > > > On Tue, 15 Mar 2005 11:09:48 -0800 (PST), Brett > Gorres > wrote: > > HI: > > If anyone out there is even using ibatis with > > driver=org.apache.derby.jdbc.EmbeddedDriver > > > > You may be able to help me: (or I am just crazy!) > I > > know there are some possible workarounds e.g., > hacking > > SqlMapClientBuilder--but I'm trying to learn how > to > > get ibatis and derby going without resorting to > that. > > > > Here is the situation: > > I have a small embedded Derby (/Cloudscape) > database > > in the same JVM as the application... > > > > Ibatis has no trouble connecting to my tiny derby > > testdb (created but not populated with anything), > but > > for some reason my other _populated_ database > won't > > start using the same code (after only changing the > url > > to my other database in database.properties). > > > > > > " > > Failed to start database > > 'C:\work\projects\<>', see > the > > next exception for details. > > " > > > > > > (fyi, there is no "next exception to look at from > my > > current vantage point...") > > > > I know ibatis is just unhappy with the specific > > database in question--not derby in > general--because > > when I change the url in database.properties to a > > fictitious one, the error does change: > > > > > > " > > Database > 'C:\work\projects\<>' > > not found. > > " > > > > > > No angle brackets were actually used in my test. > (In > > case that is not clear.) > > > > My questions: > > > > 1) Has this ever happened to you? Am I still on a > > well-beaten path? > > > > 2) Why does the small database work and the other > > (still trivially small) other db NOT work? > > > > Obviously there is something good about testdb and > > something amiss with my other db. > > > > If answer to 1 == No (otherwise I am just probably > way > > off), Is it possible that derby is is simply > taking > > too long to start up on my [trivially] larger db > and > > ibatis is therefore timing out? > > > > p.s. > > I've been using Oracle and MySQL with SQL Maps for > a > > long time and loving it! > > > > Regards, > > > > -Brett > > >