From torque-dev-return-10832-apmail-db-torque-dev-archive=db.apache.org@db.apache.org Wed Feb 29 14:04:21 2012 Return-Path: X-Original-To: apmail-db-torque-dev-archive@www.apache.org Delivered-To: apmail-db-torque-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 53DD49B8D for ; Wed, 29 Feb 2012 14:04:21 +0000 (UTC) Received: (qmail 72243 invoked by uid 500); 29 Feb 2012 14:04:21 -0000 Delivered-To: apmail-db-torque-dev-archive@db.apache.org Received: (qmail 72171 invoked by uid 500); 29 Feb 2012 14:04:20 -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 72158 invoked by uid 99); 29 Feb 2012 14:04:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Feb 2012 14:04:20 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Feb 2012 14:04:18 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id DE935C74BD for ; Wed, 29 Feb 2012 14:03:58 +0000 (UTC) Date: Wed, 29 Feb 2012 14:03:58 +0000 (UTC) From: "Helge Weissig (Created) (JIRA)" To: torque-dev@db.apache.org Message-ID: <1259625995.3020.1330524238913.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Created] (TORQUE-183) allow for large schemas to be broken up into sub-schema files MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org allow for large schemas to be broken up into sub-schema files ------------------------------------------------------------- Key: TORQUE-183 URL: https://issues.apache.org/jira/browse/TORQUE-183 Project: Torque Issue Type: Wish Components: Generator Affects Versions: 3.3.1 Reporter: Helge Weissig In an attempt to break up a large schema file into smaller sub-schema files= , I recently ran into a design feature with [torque|http://db.apache.org/to= rque], external schemas, and the implementation of the complexDataModel fla= g. To illustrate, I have created [a github project|https://github.com/helgew/T= orque-Schema-Test]. As you will see, there are two schema files: [first-sch= ema.xml|https://github.com/helgew/Torque-Schema-Test/blob/master/src/main/t= orque/schema/first-schema.xml] and [second-schema.xml|https://github.com/he= lgew/Torque-Schema-Test/blob/master/src/main/torque/schema/second-schema.xm= l] which includes the first. The [generated base classes|https://github.com= /helgew/Torque-Schema-Test/tree/master/target/generated-sources/torque/org/= grajagan] for tbl1 and tbl3 differ in that [BaseTbl3|https://github.com/hel= gew/Torque-Schema-Test/blob/master/target/generated-sources/torque/org/graj= agan/BaseTbl3.java] has the getter methods for the link table tbl_link_int = (e.g. [getTblLinkInts()|https://github.com/helgew/Torque-Schema-Test/blob/m= aster/target/generated-sources/torque/org/grajagan/BaseTbl3.java#L168]), wh= ereas [BaseTbl1|https://github.com/helgew/Torque-Schema-Test/blob/master/ta= rget/generated-sources/torque/org/grajagan/BaseTbl1.java] does not. I think it would be a very useful feature to be able to split a large schem= a into several sub-schema files and not lose the ability to generate these = setters! -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs: https://issues.apache.org/jira/secure/ContactAdministrators!default.jsp= a For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org For additional commands, e-mail: torque-dev-help@db.apache.org