Return-Path: Delivered-To: apmail-db-torque-dev-archive@www.apache.org Received: (qmail 30182 invoked from network); 10 Aug 2006 08:08:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 10 Aug 2006 08:08:13 -0000 Received: (qmail 8511 invoked by uid 500); 10 Aug 2006 08:08:12 -0000 Delivered-To: apmail-db-torque-dev-archive@db.apache.org Received: (qmail 8500 invoked by uid 500); 10 Aug 2006 08:08:12 -0000 Mailing-List: contact torque-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Apache Torque Developers List" Reply-To: "Apache Torque Developers List" Delivered-To: mailing list torque-dev@db.apache.org Received: (qmail 8489 invoked by uid 99); 10 Aug 2006 08:08:12 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Aug 2006 01:08:12 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Aug 2006 01:08:12 -0700 Received: from ajax.apache.org (localhost [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 2013A6ACAA for ; Thu, 10 Aug 2006 09:07:51 +0100 (BST) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Apache Wiki To: torque-dev@db.apache.org Date: Thu, 10 Aug 2006 08:07:51 -0000 Message-ID: <20060810080751.11016.61840@ajax.apache.org> Subject: [Db-torque Wiki] Update of "GettingTorqueToWork" by Derek Walsh X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Dear Wiki user, You have subscribed to a wiki page or wiki category on "Db-torque Wiki" for change notification. The following page has been changed by Derek Walsh: http://wiki.apache.org/db-torque/GettingTorqueToWork ------------------------------------------------------------------------------ If you try to use the command 'maven torque:create-db' to generate your database and tables using MS SQL, you will get an error saying: + ---- - ---------------------- [torque-data-model] Using classpath [torque-data-model] Generating to file D:\Downloads\mytorquetest\target\sql\create-db.sql [echo] @@ -391, +391 @@ [sql] [ERROR] Failed to execute: ECHO Not implemented [sql] [ERROR] java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]Incorrect syntax near the keyword 'Not'. [sql] 0 of 1 SQL statements executed successfully - ----------------------- + ---- Don't worry if you get this error, the way around it is to manually create the database and then use the command 'maven torque:insert-sql' to create your tables --------------------------------------------------------------------- To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org For additional commands, e-mail: torque-dev-help@db.apache.org