Return-Path: Delivered-To: apmail-db-torque-user-archive@www.apache.org Received: (qmail 97966 invoked from network); 18 Dec 2003 14:54:00 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 18 Dec 2003 14:54:00 -0000 Received: (qmail 99167 invoked by uid 500); 18 Dec 2003 14:53:31 -0000 Delivered-To: apmail-db-torque-user-archive@db.apache.org Received: (qmail 99147 invoked by uid 500); 18 Dec 2003 14:53:31 -0000 Mailing-List: contact torque-user-help@db.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Apache Torque Users List" Reply-To: "Apache Torque Users List" Delivered-To: mailing list torque-user@db.apache.org Received: (qmail 99087 invoked from network); 18 Dec 2003 14:53:31 -0000 Received: from unknown (HELO mail1.tui.de) (62.48.72.11) by daedalus.apache.org with SMTP; 18 Dec 2003 14:53:31 -0000 Received: from tuiger1.tui.de (sun41.tui.de [10.147.10.41]) by mail1.tui.de (8.12.10/8.12.10) with ESMTP id hBIEraAU028521 for ; Thu, 18 Dec 2003 15:53:37 +0100 (MET) Received: by tuiger1.tui.de with Internet Mail Service (5.5.2653.19) id ; Thu, 18 Dec 2003 15:53:30 +0100 Message-ID: <1F905AA22C9BD6119BD140001001261401567CDF@tuiger3.tui.de> From: "Tillich, Adrian" To: "'Apache Torque Users List'" Subject: AW: Nullable foreign keys Date: Thu, 18 Dec 2003 15:53:29 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" X-Scanned-By: MIMEDefang 2.35 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hello Jim, I guess you are using the primitive datatype for the foreign key field in your business class. This will always be set to zero when the class is initialized. Use the object type instead. Therefor you have to change the database.dtd. Good luck, Adrian (who had the same problem last week) --------------------------------------------------------------------- To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org For additional commands, e-mail: torque-user-help@db.apache.org