Return-Path: Delivered-To: apmail-ibatis-user-java-archive@www.apache.org Received: (qmail 53172 invoked from network); 20 Jan 2010 19:30:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 20 Jan 2010 19:30:15 -0000 Received: (qmail 1331 invoked by uid 500); 20 Jan 2010 19:30:14 -0000 Delivered-To: apmail-ibatis-user-java-archive@ibatis.apache.org Received: (qmail 1274 invoked by uid 500); 20 Jan 2010 19:30:14 -0000 Mailing-List: contact user-java-help@ibatis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user-java@ibatis.apache.org Delivered-To: mailing list user-java@ibatis.apache.org Received: (qmail 1266 invoked by uid 99); 20 Jan 2010 19:30:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Jan 2010 19:30:14 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [209.85.223.192] (HELO mail-iw0-f192.google.com) (209.85.223.192) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Jan 2010 19:30:03 +0000 Received: by iwn30 with SMTP id 30so2230504iwn.0 for ; Wed, 20 Jan 2010 11:29:41 -0800 (PST) Received: by 10.231.125.19 with SMTP id w19mr669586ibr.8.1264015781163; Wed, 20 Jan 2010 11:29:41 -0800 (PST) Received: from ?192.168.0.54? (207.155.196.2.ptr.us.xo.net [207.155.196.2]) by mx.google.com with ESMTPS id 23sm139735iwn.7.2010.01.20.11.29.38 (version=SSLv3 cipher=RC4-MD5); Wed, 20 Jan 2010 11:29:39 -0800 (PST) Message-ID: <4B5759A3.3010701@mchambliss.com> Date: Wed, 20 Jan 2010 12:29:39 -0700 From: Michael Chambliss User-Agent: Postbox 1.1.0 (Windows/20091201) MIME-Version: 1.0 To: user-java@ibatis.apache.org Subject: Oracle PL/SQL with Schema Migrations Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hello, I just wanted to follow up on a question that was asked back in October: http://www.mail-archive.com/user-java@ibatis.apache.org/msg14957.html In summary, PL/SQL terminates lines with a semicolon, which causes problems for the line delimiter logic in the migrations tool. Something like this: DECLARE sometime date; BEGIN select sysdate into sometime from dual; END; would fail on line 2. In a more realistic case, simply creating a function or trigger would trip things up. Was this scenario later compensated for via environment configuration options, or has anyone found a good work around? Thanks! Mike --------------------------------------------------------------------- To unsubscribe, e-mail: user-java-unsubscribe@ibatis.apache.org For additional commands, e-mail: user-java-help@ibatis.apache.org