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 Fox <Th...@seitenbau.net> on 2012/09/24 09:19:23 UTC

Torque 4.0-beta1 released

The Torque development team is pleased to announce the release of Torque
4.0-beta1.
The "look and feel" of Torque 3 was maintained. However, there are some
sunstantial changes:
- The generator is now a general-purpose code generator.
  - This means that the templates must now be specified as explicit
dependency in the generator. Check the tutorial for details.
- As the templates are now modular, it is easy to extend or modify the
generated code without having to replace the whole templates.
- A new Criteria implementation was created, with easier semantics. The old
Criteria implementation was retained but deprecated.
- The Torque runtime does not use the village library any more.
- Prepared statements are used throughout all queries.
- Column names are now encapsulated in objects.
- At least Java 1.5 is now required
- Database views are now supported out-of-the-box
- Supplying "null" as value for a database connection now results in an
error in Torque 4. In Torque 3, Torque automatically opened a database
connection if a connection argument was null.

Home page:
http://db.apache.org/torque/releases/torque-4.0/index.html

Migration guide:
http://db.apache.org/torque/releases/torque-4.0/migration-from-torque-3.html

Tutorial:
http://db.apache.org/torque/releases/torque-4.0/tutorial/index.html

Torque 4.0-beta1 is available via maven central under the following ids:
runtime:
    <groupId>org.apache.torque</groupId>
    <artifactId>torque-runtime</artifactId>
    <version>4.0-beta1</version>
maven plugin:
    <groupId>org.apache.torque</groupId>
    <artifactId>torque-maven-plugin</artifactId>
    <version>4.0-beta1</version>
templates:
    <groupId>org.apache.torque</groupId>
    <artifactId>torque-templates</artifactId>
    <version>4.0-beta1</version>

Alternatively, source and binary documentation are available at:
http://db.apache.org/torque/releases/torque-4.0/download.html

Changelog:
https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310280&version=12312102

Feel free to contact the torque-user mailing lists if you have any
questions.

   The Torque development team


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