This Reference contains information about how to use Torque as a Object-Relational mapper (a tool that maps from relational databases to java classes).
To access a database with Torque, the following steps are needed, which are described in this documentation in detail:
Use the navigation on the left to choose the topic you are interested in.