1.5 KiB
1.5 KiB
TPQuery
TPQuery is a java8 library providing templated prepared statements with native parameter support.
Features
- Named parameters.
- Include query parts.
- Default values.
- Extra parameter types like LIST and RAW.
- QuerySets are nestable.
- Prepared statement cache if possibe.
- Multiple languages supported.(SQL and HQL)
- Custom feature validation.
- Rich query builder api.
- Loadable query trees from xml.
Installation
Add maven dep for jpa usage;
<dependency>
<groupId>net.forwardfire.tpquery</groupId>
<artifactId>tpquery-executor-jpa</artifactId>
<version>1.5.1-SNAPSHOT</version>
<scope>compile</scope>
</dependency>
Files in this package
- build.md - Developer build commands.
- license.txt - The license of tpquery.
- pom.xml - Maven specific build file.
- readme.md - This file.
- todo.md - Small todo list.
- src - site source.
- tpquery-executor-jdbc - Jdbc executor implementation. (SQL only)
- tpquery-executor-jpa - JPA executor implementation. (SQL and HQL)
- tpquery-store - The query store library.
Contributing
In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Style and test your code.
Release History
Version 1.5.1-SNAPSHOT
- Fixed execute dep artifact typo.
- Updated all dep versions.
Version 1.5.0-SNAPSHOT
- First public release.
- fifth rewrite of idea.