52 lines
1.2 KiB
Markdown
52 lines
1.2 KiB
Markdown
TPQuery
|
|
=========
|
|
|
|
TPQuery is a java8 library providing templated prepared statements.
|
|
|
|
## 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.
|
|
* Validation
|
|
|
|
## Installation
|
|
|
|
Add maven deps;
|
|
|
|
<dependency>
|
|
<groupId>net.forwardfire.tpquery</groupId>
|
|
<artifactId>tpquery-store</artifactId>
|
|
<version>1.5.0-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.
|
|
* tpquery-executor-jpa - JPA executor implementation.
|
|
* 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.0
|
|
* First public release
|
|
* fifth rewrite of idea.
|
|
|
|
|