db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Vandahl ...@apache.org>
Subject Torque-3.3-RC2 released
Date Tue, 27 Feb 2007 21:26:40 GMT
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


Mime
View raw message