Return-Path: Delivered-To: apmail-cayenne-user-archive@www.apache.org Received: (qmail 29330 invoked from network); 12 May 2010 09:46:16 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 12 May 2010 09:46:16 -0000 Received: (qmail 45546 invoked by uid 500); 12 May 2010 09:46:16 -0000 Delivered-To: apmail-cayenne-user-archive@cayenne.apache.org Received: (qmail 45413 invoked by uid 500); 12 May 2010 09:46:16 -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 45405 invoked by uid 99); 12 May 2010 09:46:15 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 May 2010 09:46:15 +0000 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: local policy) Received: from [219.88.242.56] (HELO mx6.orcon.net.nz) (219.88.242.56) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 May 2010 09:46:07 +0000 Received: from Debian-exim by mx6.orcon.net.nz with local (Exim 4.69) (envelope-from ) id 1OC8Vd-0002vD-QF for user@cayenne.apache.org; Wed, 12 May 2010 21:45:45 +1200 Received: from [121.98.190.242] (helo=[192.168.32.100]) by mx6.orcon.net.nz with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.69) (envelope-from ) id 1OC8Vd-0002us-G4 for user@cayenne.apache.org; Wed, 12 May 2010 21:45:45 +1200 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1078) Subject: =?windows-1252?Q?Re:_CAY-1427_=96=96_Problem_with_Refresh_Join_i?= =?windows-1252?Q?n_EJBQL?= From: Andrew Lindesay In-Reply-To: <7A2E08DA-70CD-4D46-80E4-9122AB53ABE9@objectstyle.org> Date: Wed, 12 May 2010 21:45:45 +1200 Content-Transfer-Encoding: quoted-printable Message-Id: <7DA86D12-3035-4540-B7F1-3374F80B2FAA@lindesay.co.nz> References: <75F59F14-FF57-430A-9EAD-6EED2C8EFD0F@lindesay.co.nz> <0AB590AE-1A56-401D-846F-663D13724019@objectstyle.org> <48798CB0-DE60-4A95-A84A-8A4E886444D0@lindesay.co.nz> <7A2E08DA-70CD-4D46-80E4-9122AB53ABE9@objectstyle.org> To: user@cayenne.apache.org X-Mailer: Apple Mail (2.1078) X-DSPAM-Check: by mx6.orcon.net.nz on Wed, 12 May 2010 21:45:45 +1200 X-DSPAM-Result: Whitelisted X-DSPAM-Processed: Wed May 12 21:45:45 2010 X-DSPAM-Confidence: 0.5391 X-DSPAM-Probability: 0.0000 X-Virus-Checked: Checked by ClamAV on apache.org Hello; > Possible. Yes you should be able to run tests against different DB's, = running Maven build with -Dcayenne.test.connection=3Dpostgres (3.0) or = -DcayenneTestConnection=3Dpostgres (3.1) per = http://cayenne.apache.org/running-unit-tests.html I just had some time to try to resolve this, but am having trouble = stopping it from using HSQLDB; mvn test \ -Dcayenne.test.connection=3Dpostgres \ -DcayenneJdbcUsername=3Dapl \ -DcayenneJdbcUrl=3Djdbc:postgresql://localhost/cayennetests \ -DcayenneJdbcDrg.postgresql.Driver \ -DcayenneAdapter=3Dorg.apache.cayenne.dba.postgres.PostgresAdapter= ^^^ does that look approximately right for 3.0-STABLE? It seems to get the PG driver from the repository and then just uses... > INFO: test connection info: [org.apache.cayenne.conn.DataSourceInfo: > user name: sa > password: ********** > driver: org.hsqldb.jdbcDriver > db adapter class: org.apache.cayenne.dba.hsqldb.HSQLDBAdapter > url: jdbc:hsqldb:mem:aname > min. connections: 1 > max. connections: 1 > ] ...anyway. cheers. ___ Andrew Lindesay www.silvereye.co.nz