You are viewing a plain text version of this content. The canonical link for it is here.
Posted to torque-user@db.apache.org by Thomas Vandahl <tv...@apache.org> on 2007/02/27 22:26:40 UTC

Torque-3.3-RC2 released

The Torque team is pleased to announce the Torque 3.3-RC2 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:

  New Features:

o Added check whether Torque is initialized in Torque.getConnection().
  If Torque is not initialized, a corresponding TorqueException is
  thrown; Issue: TORQUE-79.
o The maven 2 plugin generates the non-base classes into a different
  directory than the base classes. This behaviour can also be configured
  for maven 1 and ant by setting the property torque.java.base.dir to
  another directory than torque.java.dir.
o Added a new Generator model Domain subclass called
  SizedForBitDataDomain to support the DB2/Derby CHAR/VARCHAR (size) AS
  BIT DATA format.

  Fixed bugs:

o Fix the handling of interfaces while keeping backward compatibility.
  Add documentation and test cases. Issue: TORQUE-76. Thanks to Ronny
  Völker.
o In the JdbcTransformTask of the generator, the attribute "default" is
  only added to the generated schema if its value is not empty. Issue:
  TORQUE-80. Thanks to Brian Telintelo.
o Fixed the lifecycle integration and dependency resolution of the om
  goal in the maven 2 plugin. Thanks to Jeffrey D. Brekke.
o Allow repeated lookups to the Torque Avalon Component. The component
  now registers the existing MapBuilders with the new instance so that
  they are re-built during initialization. This is considered a
  temporary hack until the static constructors of the generated Peer
  classes go away. Issue: TORQUE-68.
o Set autocommit=true as default for the sqlexec task in the maven 2
  plugin.
  Some databases (e.g. postgresql) need this to proceed if a statement
  execution fails.
o Added the TEXT sql type in postgresql to the list of types where size
  and scale is silently dropped in sql generation.
o Made the password parameter optional in the sqlexec task in the maven2
  plugin. Empty passwords work for some databases.
o Added missing log4j jar to generator dependencies. Issue: TORQUE-73.
o Improved Derby generator platform implimentation to support correctly
  sized BINARY and VARBINARY using the SizedAsBitDataDomain. Also fixed
  problems with the BIT and TINYINT mappings.
o Fixed template package references that caused bad code to be generated
  if non-default packages were used.

  Changes:

o Centralized the handling of MapBuilders in the TorqueInstance class.
  This allows for repeated initialization of different instances of
  Torque. The method BasePeer.getMapBuilder(className) is now
  deprecated.

The vote for this release can be found in
http://mail-archives.apache.org/mod_mbox/db-torque-dev/200702.mbox/%3c45DB1FC0.40307@apache.org%3e

Have fun!
-The Torque team


---------------------------------------------------------------------
To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org


RE: Torque-3.3-RC2 released

Posted by Greg Monroe <Gr...@DukeCE.com>.
Thanks Thomas! 

> -----Original Message-----
> From: Thomas Vandahl [mailto:tv@apache.org] 
> Sent: Tuesday, February 27, 2007 4:27 PM
> To: general@db.apache.org
> Cc: Apache Torque Developers List; Apache Torque Users List
> Subject: Torque-3.3-RC2 released
> 
> The Torque team is pleased to announce the Torque 3.3-RC2 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:
> 
>   New Features:
> 
> o Added check whether Torque is initialized in Torque.getConnection().
>   If Torque is not initialized, a corresponding TorqueException is
>   thrown; Issue: TORQUE-79.
> o The maven 2 plugin generates the non-base classes into a different
>   directory than the base classes. This behaviour can also be 
> configured
>   for maven 1 and ant by setting the property torque.java.base.dir to
>   another directory than torque.java.dir.
> o Added a new Generator model Domain subclass called
>   SizedForBitDataDomain to support the DB2/Derby CHAR/VARCHAR 
> (size) AS
>   BIT DATA format.
> 
>   Fixed bugs:
> 
> o Fix the handling of interfaces while keeping backward compatibility.
>   Add documentation and test cases. Issue: TORQUE-76. Thanks to Ronny
>   Völker.
> o In the JdbcTransformTask of the generator, the attribute 
> "default" is
>   only added to the generated schema if its value is not empty. Issue:
>   TORQUE-80. Thanks to Brian Telintelo.
> o Fixed the lifecycle integration and dependency resolution of the om
>   goal in the maven 2 plugin. Thanks to Jeffrey D. Brekke.
> o Allow repeated lookups to the Torque Avalon Component. The component
>   now registers the existing MapBuilders with the new instance so that
>   they are re-built during initialization. This is considered a
>   temporary hack until the static constructors of the generated Peer
>   classes go away. Issue: TORQUE-68.
> o Set autocommit=true as default for the sqlexec task in the maven 2
>   plugin.
>   Some databases (e.g. postgresql) need this to proceed if a statement
>   execution fails.
> o Added the TEXT sql type in postgresql to the list of types 
> where size
>   and scale is silently dropped in sql generation.
> o Made the password parameter optional in the sqlexec task in 
> the maven2
>   plugin. Empty passwords work for some databases.
> o Added missing log4j jar to generator dependencies. Issue: TORQUE-73.
> o Improved Derby generator platform implimentation to support 
> correctly
>   sized BINARY and VARBINARY using the SizedAsBitDataDomain. 
> Also fixed
>   problems with the BIT and TINYINT mappings.
> o Fixed template package references that caused bad code to 
> be generated
>   if non-default packages were used.
> 
>   Changes:
> 
> o Centralized the handling of MapBuilders in the TorqueInstance class.
>   This allows for repeated initialization of different instances of
>   Torque. The method BasePeer.getMapBuilder(className) is now
>   deprecated.
> 
> The vote for this release can be found in 
> http://mail-archives.apache.org/mod_mbox/db-torque-dev/200702.
mbox/%3c45DB1FC0.40307@apache.org%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
> 
> 

Duke CE Privacy Statement
Please be advised that this e-mail and any files transmitted with it are confidential communication or may otherwise be privileged or confidential and are intended solely for the individual or entity to whom they are addressed.  If you are not the intended recipient you may not rely on the contents of this email or any attachments, and we ask that you  please not read, copy or retransmit this communication, but reply to the sender and destroy the email, its contents, and all copies thereof immediately.  Any unauthorized dissemination, distribution or copying of this communication is strictly prohibited.



---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org