The most prominent changes with respect to 3.3 are
- The generator is now a general-purpose code generator.
- As the templates are now modular, it is easy to extend or modify the
generated code without having to replace the whole set of templates.
- A new Criteria implementation was created, with slightly changed
semantics. The old Criteria implementation was retained but deprecated.
- Prepared statements are used throughout all queries.
- Column names are now encapsulated in objects.
However, the overall look and feel of Torque 3 was maintained.
The most prominent changes with respect to 4.0-beta1 are
- Updates using custom SQL now use prepared statements.
- The documentation is now available for download.
- The documentation structure was reorganized.
- There are now specific exceptions thrown for deadlocks and constraint
violations (DeadlockException and ConstraintViolationException).
- Associated object state can now be set by a bulk operation (see generated
setAndSave methods in Peers).
- And a few bugs were fixed.