Torque Future

This page is intended to be a white board of ideas where to go for the next Torque major release. Don't expect everything written here to show up at once.

General

  • Better documentation from the beginning. Maybe drop xdoc in favor of an easier to use format? (tfischer)

Torque Runtime

  • General SQL schema (database namespace) support. (hps,tfischer)
  • Introduce a some sort of "handle" onto a data source / table collection, allowing things like defined initialization, setting default parameters (similar to Hibernate Session?) (hps)
  • Build a pluggable criteria system using a generator (connected to the "handle" object to create a criteria and an evaluation method to get the query / select string) (hps)
  • Build a unified Transaction system, which is able to use different transaction types thus allowing the usage of transactions managed by a container (hps)
  • Keep the "simple" approach that made Torque fast and versatile: Don't try to rebuild Hibernate. No generic object -> SQL mapper, just a table schema representation in SQL (hps,tfischer)
  • No implicit caching (maybe pluggable). Use JCS? (hps,tfischer)
  • (Maybe) handle n:m relations automatically ? (tfischer)
  • Have TorqueInit() search the classpath for its initialisation file, just as ResourceBundle.getBundle() does instead of using an absolute path name. (RM)

Torque Code generator

  • Examine ways to generate the Class sources with this project (hps)
  • Allow multiple OM schemata to be generated, allowing one installed torque generator to be used for multiple project with different runtime levels (-- Henning: I have a patch for this). (hps)
  • Provide extra methods that clear down or invalidate all the supplementary fields such as the 'collXXX' arising from foreign keys. (RM)
  • Generate struts pages. the idea would be to create a jsp pages form with all the fields by pages, the struts-config.xml, the validator-rules.xml and the {table}Form.java and {table}Action.java. this looks like Xdoclet but this could be great

People:

hps = Henning Schmiedehausen tfischer = Thomas Fischer

  • No labels