Return-Path: Delivered-To: apmail-db-torque-dev-archive@www.apache.org Received: (qmail 3553 invoked from network); 15 Oct 2007 10:20:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Oct 2007 10:20:41 -0000 Received: (qmail 69615 invoked by uid 500); 15 Oct 2007 10:20:29 -0000 Delivered-To: apmail-db-torque-dev-archive@db.apache.org Received: (qmail 69587 invoked by uid 500); 15 Oct 2007 10:20:29 -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 69576 invoked by uid 99); 15 Oct 2007 10:20:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Oct 2007 03:20:29 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Oct 2007 10:20:40 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 9C1837141EB for ; Mon, 15 Oct 2007 03:19:50 -0700 (PDT) Message-ID: <32022260.1192443590611.JavaMail.jira@brutus> Date: Mon, 15 Oct 2007 03:19:50 -0700 (PDT) From: "Sylvain Benoist (JIRA)" To: torque-dev@db.apache.org Subject: [jira] Commented: (TORQUE-104) Sybase DBMS DDL errors In-Reply-To: <9307329.1192022630774.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/TORQUE-104?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12534792 ] Sylvain Benoist commented on TORQUE-104: ---------------------------------------- I have attached the templates as I have modified them - the sqlExec command still does not work ( I get a sqlexception for some obscure reason) but at least the generated sql can be passed on to Sybase via iSQL and it works outside of the maven2 plugin 'go' is the command delimiter for Sybase, so yes, it acts as a replacement for ';'. I have seen that there was a delimiter param on the list of params that the maven 2 plugin takes, so I tried it but did not succeed. I also looked at the template override feature which is advertised in the maven1 plugin but the maven2 plugin apparently does not - Tried using templatePath with no luck. if there is any ';' in the SQL, Sybase complains and says <> You can download Sybase 15.0.2 on your machine, install and use it - the developer edition is absolutely free for dev and test purposes. There are downloads for Windows, Linux and many others. > Sybase DBMS DDL errors > ---------------------- > > Key: TORQUE-104 > URL: https://issues.apache.org/jira/browse/TORQUE-104 > Project: Torque > Issue Type: Bug > Components: Generator > Affects Versions: 3.3-RC2 > Environment: machine on Windows XP - used Sybase 15.0.2 Developer Edition, Maven 2.07 and plugin 3.3-RC2 > Reporter: Sylvain Benoist > Priority: Blocker > > used goals torque:sql ; torque:sqlExec > When the *-schema.xml file contains descriptions on tables and/or columns, the torque:sql goal generates a DDL that contains instructions like > 'COMMENT ON TABLE blahblahblah IS 'some description' or 'COMMENT ON COLUMN blahblah IS... > Sybase does not support these, so they should be suppressed from the output when Sybase is the target database. > Another issue - Sybase does not like ';' in the DDL -- all it wants to see is LF/CR, and 'go' statements -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org For additional commands, e-mail: torque-dev-help@db.apache.org