Return-Path: Delivered-To: apmail-openjpa-dev-archive@www.apache.org Received: (qmail 70838 invoked from network); 1 May 2008 21:48:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 May 2008 21:48:15 -0000 Received: (qmail 29513 invoked by uid 500); 1 May 2008 21:48:16 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 29487 invoked by uid 500); 1 May 2008 21:48:16 -0000 Mailing-List: contact dev-help@openjpa.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@openjpa.apache.org Delivered-To: mailing list dev@openjpa.apache.org Received: (qmail 29474 invoked by uid 99); 1 May 2008 21:48:16 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 May 2008 14:48:16 -0700 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 May 2008 21:47:23 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1Jrgcw-0002Od-Qt for dev@openjpa.apache.org; Thu, 01 May 2008 14:47:42 -0700 Message-ID: <16995080.post@talk.nabble.com> Date: Thu, 1 May 2008 14:47:42 -0700 (PDT) From: Dinkar Rao To: dev@openjpa.apache.org Subject: Colon used for table's scheme qualification in Informix MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: dinkar.d91411118@gmail.com X-Virus-Checked: Checked by ClamAV on apache.org Hi Folks, In the Informix dictionary, there's a line: catalogSeparator = ":"; with a comment saying that Informix uses colon as the catalog separator. This causes JPA to produce statements like this: CREATE TABLE myschema:mytable (a int); This does not work with Informix IDS 10 because in IDS, the schema qualifier separator is not any different from the default, which is "." . The correct IDS syntax is CREATE TABLE myschema.mytable (a int); Colons are used in Informix, but only to qualify schemas with databases, e.g. CREATE TABLE mydatabase:myschema.mytable (a int); Even so, in IDS, I cannot reference a table created under a different database from the current connection if either database is logged. Would anyone know why the catalogSeparator was set to ":" in the Informix dictionary ? Colon is NOT the separator between the schema and table in the fully qualified name for IDS (or XPS). Thanks, Dinkar -- View this message in context: http://www.nabble.com/Colon-used-for-table%27s-scheme-qualification-in-Informix-tp16995080p16995080.html Sent from the OpenJPA Developers mailing list archive at Nabble.com.