Return-Path: Delivered-To: apmail-db-ddlutils-dev-archive@www.apache.org Received: (qmail 37426 invoked from network); 3 Nov 2008 23:53:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Nov 2008 23:53:05 -0000 Received: (qmail 34338 invoked by uid 500); 3 Nov 2008 23:53:11 -0000 Delivered-To: apmail-db-ddlutils-dev-archive@db.apache.org Received: (qmail 34320 invoked by uid 500); 3 Nov 2008 23:53:11 -0000 Mailing-List: contact ddlutils-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ddlutils-dev@db.apache.org Delivered-To: mailing list ddlutils-dev@db.apache.org Received: (qmail 34309 invoked by uid 99); 3 Nov 2008 23:53:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Nov 2008 15:53:11 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Nov 2008 23:52:03 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 9F4A1234C26D for ; Mon, 3 Nov 2008 15:52:44 -0800 (PST) Message-ID: <704774324.1225756364651.JavaMail.jira@brutus> Date: Mon, 3 Nov 2008 15:52:44 -0800 (PST) From: "Thomas Dudziak (JIRA)" To: ddlutils-dev@db.apache.org Subject: [jira] Updated: (DDLUTILS-188) Add multiple schema support In-Reply-To: <15648751.1198189303306.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/DDLUTILS-188?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Thomas Dudziak updated DDLUTILS-188: ------------------------------------ Fix Version/s: 1.2 > Add multiple schema support > --------------------------- > > Key: DDLUTILS-188 > URL: https://issues.apache.org/jira/browse/DDLUTILS-188 > Project: DdlUtils > Issue Type: Improvement > Components: Core (No specific database), Core - PostgreSql > Environment: all > Reporter: Jon Keys > Assignee: Thomas Dudziak > Fix For: 1.2 > > Attachments: ddlutils-multischema.patch > > > As mentioned in issue 116 there was no support for multiple schemas. > This patch adds initial support against the latest svn head (603834). > Features added in this patch include: > - support for schema definition in xml schema definition document > - ability to create / drop multiple schemas in a single database (yes, even from ant) > - support for object creation / removal in separate schemas (tables, constraints, sequences, etc...) > - support for insert / update / delete operations for separate schemas > - support for altering model with multiple schemas > This multiple schema support was added as a boolean attribute to the PlatformInfo and is currently only "enabled" for the PostgreSQL platform implementation. > If you're interested in "enabling" this feature for another platform you should also override the "createSchemas" and "dropSchemas" methods in the specific platform's SqlBuilder implementation. > Also added in this patch: > - ObjectStor class which can serialize a java object to a byte array and un-serialize an existing byte array back to a java object > This class is useful when the platform isn't able to deal directly with the JAVA_OBJECT type. > I used this in setObject method of the PostgreSqlPlatform class when the type is a JAVA_OBJECT because the PostgreSQL jdbc driver is unable to deal directly with java objects (it stores the serialized object instead). -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.