
Apache TorqueThe Apache Software Foundation
Apache Torque is an object-relational mapper for Java that generates database access classes from an XML schema. It allows developers to interact with relational databases using Java objects, simplifying data manipulation and promoting database independence through code generation.
Vendor
The Apache Software Foundation
Company Website


Product details
Apache Torque
Apache Torque is an object-relational mapper (ORM) for Java that allows developers to interact with relational databases using Java objects. Unlike many ORMs, Torque does not rely on reflection but instead generates Java classes from an XML schema that describes the database structure. This approach promotes database independence and simplifies customization of the data access layer.
Features
- Code generation from XML schema for database access classes
- SQL script generation for database creation
- Modular template system for customizable code generation
- Integration with Maven and Ant via plugins and tasks
- Runtime component for standalone database access
- Support for multiple database systems
- Requires Java 17 or higher for version 7.0
Capabilities
- Enables object-oriented access to relational databases
- Allows schema-driven development and reverse engineering
- Supports overriding generated methods for custom behavior
- Facilitates integration into build systems with Maven and Ant
- Provides reusable templates for consistent code output
- Offers standalone runtime for lightweight deployments
Benefits
- Simplifies database interaction in Java applications
- Promotes clean separation between database and application logic
- Enhances maintainability through generated and customizable code
- Reduces manual coding effort and potential errors
- Supports cross-database compatibility and portability
- Encourages modular and scalable application design
Find more products by industry
Other ServicesEducationFinance & InsuranceHealth & Social WorkPublic AdministrationInformation & CommunicationView all