Return-Path: Delivered-To: apmail-db-torque-dev-archive@www.apache.org Received: (qmail 76157 invoked from network); 29 Feb 2008 22:45:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 29 Feb 2008 22:45:02 -0000 Received: (qmail 94239 invoked by uid 500); 29 Feb 2008 22:44:57 -0000 Delivered-To: apmail-db-torque-dev-archive@db.apache.org Received: (qmail 94214 invoked by uid 500); 29 Feb 2008 22:44:57 -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 94189 invoked by uid 99); 29 Feb 2008 22:44:57 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Feb 2008 14:44:57 -0800 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 [62.13.128.78] (HELO outmail128078.authsmtp.co.uk) (62.13.128.78) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Feb 2008 22:44:09 +0000 Received: from outmail128185.authsmtp.co.uk (outmail128185.authsmtp.co.uk [62.13.128.185]) by punt4.authsmtp.com (8.14.1/8.14.1/Kp) with ESMTP id m1TMheHZ029153; Fri, 29 Feb 2008 22:43:41 GMT Received: from [192.168.178.25] (p57AB23D8.dip0.t-ipconnect.de [87.171.35.216]) (authenticated bits=0) by mail.authsmtp.com (8.13.8/8.13.8/Kp) with ESMTP id m1TMiRG5093471; Fri, 29 Feb 2008 22:44:27 GMT Message-ID: <47C88AEB.2040602@apache.org> Date: Fri, 29 Feb 2008 23:44:59 +0100 From: Thomas Vandahl User-Agent: Thunderbird 2.0.0.12 (Macintosh/20080213) MIME-Version: 1.0 To: Apache Torque Developers List , Apache Torque Users List CC: private@db.apache.org, general@db.apache.org Subject: [ANNOUNCE] Torque 3.3 released X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Server-Quench: e27c04d8-e717-11dc-9670-001185d377ca X-AuthRoute: OCdyaAgQClZJUiwT EioPDCIGTh8qMBhR BQMCNQ9XYAZIQ14A dWhXJB0JaAVMDQsD CWIPUVZcHlV2R2Jy ahRSaBtfY0xRXQB1 UAYUQzYvTWcfBBwI BRoZU1d0dQVPNity YhViWiRTQRF9dEFg Q08ARnAPY2BgdWAf UUFQcldXdwQZL1Eu Gy4BKxZzEhBqdh4/ BRYuMnhqe24XMilR TwgWIF56 X-Authentic-SMTP: 61633138303539.squirrel.dmpriest.net.uk:787/Kp X-Report-SPAM: If SPAM / abuse - report it at: http://www.authsmtp.com/abuse X-Virus-Status: No virus detected - but ensure you scan with your own anti-virus system! X-Virus-Checked: Checked by ClamAV on apache.org The Torque team is pleased to announce the Torque 3.3 release! http://db.apache.org/torque/ What is Torque? Torque is an object-relational mapper for Java. In other words, Torque lets you access and manipulate data in a relational database using Java objects. Unlike most other object-relational mappers, Torque does not use reflection to access user-provided classes, but it generates the necessary classes (including the Data Objects) from an XML schema describing the database layout. Changes in this version include (This is the list for 3.3-RC3 again because the changes were incomplete): New Features: o Removed Village meta data check for read only column status. This is not fully supported by a lot of JDBC drivers and causes Torque to fail with Derby's JDBC network driver. o Maven 2 plugin: Added the attribute delimiterType for the sqlExec goal. o Implemented the goal id-broker-init-sql in the Maven2 plugin. Issue: TORQUE-101. Thanks to Marc Kannegiesser. o Added copy(..) and add&lt;ForeignKey&gt;(..) methods with a connection parameter. Issue: TORQUE-99. Thanks to Tobias Hilka. o OrderBy now accepts column names without a dot. No additional processing is made for these. Issue: TORQUE-89. Thanks to Stefan Birrer. o Added a datadtd goal to the maven2 plugin. o Added torque.beanExtendsClass property that defines a fully qualified class name (e.g. org.apache.struts.action.ActionForm) that the base bean classes will extend. Fixed bugs: o Added better handling in Village for BigDecimal values. Double and Float types will be converted using appropriate constructors rather than the somewhat buggy BigDecimal(String) constructor. Issue: TORQUE-53. o Corrected invalid cast in TorqueRuntimeException.splitStackTrace. Issue: TORQUE-103. Thanks to Jonathan Purvis. o Remove 'COMMENT ON...' output from generated SQL for Sybase as these commands do not exist in Sybase's sql. Issue: TORQUE-104. Thanks to Sylvain Benoist. o The suffix parameter to the Maven2-plugin's sql task now works. Thanks to Marc Kannegiesser. o Avoid to call JDK 1.5 code when creating BigDecimals. Issue: TORQUE-97. Thanks to Markus M�ller. o Fixed Null Pointer Exceptions in Criteria.equals() and Criteria.hashCode() if joins are null. Issue: TORQUE-90. Thanks to Sean Gilligan. o Changed the maven2 plugin's datadump goal to accept only a single schema xml. Multiple schema xmls produced illegal output. o Fixed the maven2 plugin's datasql goal to do the same as the ant and maven1 datasql task. o Fixed problem with somePeer.doDelete(Criteria) if criteria contains a join. Issue: TORQUE-93. o Fixed handling of the enableJava5Features config parameter in the maven 2 plugin. Issue: TORQUE-88. o Fixed handling of select statements in mysql and postgresql if offset is set but limit is not set in a query. Issue: TORQUE-87. Changes: o maven2 plugin: changed the default value of the property schemaExcludes in the sql goal from "id-table-schema.xml" to "". So the default property settings also work if the idMethod is idbroker. o Maven 2 plugin: changed the default value of the parameter "suffix" in the id-table-init-sql goal to "-idtable-init" (was: ""). This allows for automatic execution of the id-table-init-sql files in the sqlExec goal with default settings. o Sybase: Columns where the attribute "required" is not set or set to false are now created explicitly with suffix "NULL". Issue: TORQUE-105. Thanks to Sylvain Benoist. o Changed Type Mappings for Sybase: Torque type TIME is now mapped to SQL type TIME (was: SQL type TIMESTAMP) Torque type CLOB is now mapped to SQL type TEXT (was: SQL type CLOB, which does not exist in Sybase) Torque type BLOB is now mapped to SQL type IMAGE (was: SQL type BLOB, which does not exist in Sybase) o Criterions with an integer value will now be set using PreparedStatemet#setInt() when doing a PsSelect. o Integrated Village into Torque. Thanks to Henning, Jean, Jon and Scott for the paperwork. o The SQL statements generated for MS SQL by the torque:datasql target will now be wrapped in SET IDENTITY_INSERT...ON /OFF statements if the idMethod is native and autogenerate is set on one or more fields. Issue: TORQUE-86. Thanks to Will Glass-Hussain. o An exception is now thrown on an attempt to update a modified object without a primary key. The previous behaviour was to fail silently. Issue: TORQUE-69. o Deprecated the attribute size in the element index-column in the dtd. The attribute is currently not used. It will be removed from the dtd in a future version of Torque. Issue: TORQUE-91. o Create nicely trimmed output in the generator. Issue: TORQUE-71. Thanks to Thoralf Rickert. o Updated JCS dependency to version 1.3 and fixed related deprecation issues. o changed the artifact id of some maven2 artifacts: runtime -&gt; torque-runtime generator -&gt; torque-generator templates -&gt; torque-templates This change only affects maven2 users. o Changed the group id of the maven2 artifacts from org.apache.db.torque to org.apache.torque. This change only affects maven2 users. Removed features: o maven2 plugin: removed the property idTableXmlFile from the sql and id-table-init-sql goals. The property never was passed by the mojo and also does not work correctly in the generator. Use the goal id-table-init-sql to create sql for id tables instead. The vote for this release can be found in http://mail-archives.apache.org/mod_mbox/db-torque-dev/200802.mbox/%3c47B52825.3080302@backstagetech.com.au%3e Have fun! -The torque team --------------------------------------------------------------------- To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org For additional commands, e-mail: torque-dev-help@db.apache.org