Return-Path: Delivered-To: apmail-jakarta-turbine-user-archive@jakarta.apache.org Received: (qmail 24977 invoked by uid 500); 2 Oct 2001 12:11:29 -0000 Mailing-List: contact turbine-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: turbine-user@jakarta.apache.org Delivered-To: mailing list turbine-user@jakarta.apache.org Received: (qmail 24966 invoked from network); 2 Oct 2001 12:11:29 -0000 From: "Age Mooy" To: "Turbine-User" Subject: Using HyperSonic Date: Tue, 2 Oct 2001 14:13:48 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi, I'm trying to get my tdk app to work with a standalone HyperSonic database and I'm running into some problems. 1) Has anyone managed to get a relative path working in the jdbc url ? I have tried variations on this: database.default.url=jdbc:HypersonicSQL:..\..\resources\db\hypersonic\standalone where I assumes that the working directory was web-inf/lib, which it clearly isn't. I'd rather not have fully qualified paths in my TurbineResources.properties because that kinda ruins the pluggability of my webapp. 2) doInsert() doesn't work. BasePeer.doInsert() throws a NullPointerException because when it calls isPriorToInsert() on the IDGenerator belonging to the table. This is null because the database adaptor for HyperSonic returns NO_ID_METHOD as the id method. I have the idMethod of my tables set to "native" in my schma (IDENTITY in HyperSonic SQL) So how do I get doInsert() to work for HyperSonic ? Is the ID Broker the only option ? Thanx, Age --------------------------------------------------------------------- To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: turbine-user-help@jakarta.apache.org