Torque is a persistence layer in Apache DB project. Torque includes a generator to generate all the database resources required by your application and includes a runtime environment to run the generated classes. Torque home is here.