When to use this skill
- •When writing JPQL, HQL, or native SQL queries
- •When implementing repository methods for data access
- •When using parameterized queries to prevent SQL injection
- •When optimizing queries to avoid N+1 problems
- •When implementing eager loading or joins for related data
- •When selecting specific columns instead of SELECT *
- •When adding indexes for WHERE, JOIN, and ORDER BY columns
- •When wrapping related operations in transactions
- •When implementing query timeouts for performance
- •When adding caching for expensive or frequent queries
- •When editing *Repository.java, *DAO.java, or data access files
Backend Queries
This Skill provides Claude Code with specific guidance on how to adhere to coding standards as they relate to how it should handle backend queries.
Instructions
For details, refer to the information provided in this file: backend queries