tpquery/README.md

58 lines
1.5 KiB
Markdown
Raw Normal View History

TPQuery
2015-06-19 17:18:16 +00:00
=========
TPQuery is a java8 library providing templated prepared statements with native parameter support.
2015-06-19 17:18:16 +00:00
2015-06-20 15:24:08 +00:00
## Features
2016-11-19 21:35:06 +00:00
* Named parameters.
* Include query parts.
* Default values.
* Extra parameter types like LIST and RAW.
2015-06-20 15:24:08 +00:00
* QuerySets are nestable.
* Prepared statement cache if possibe.
2016-11-19 21:35:06 +00:00
* Multiple languages supported.(SQL and HQL)
* Custom feature validation.
* Rich query builder api.
* Loadable query trees from xml.
2015-06-20 15:24:08 +00:00
2015-06-19 17:18:16 +00:00
## Installation
2016-11-19 21:35:06 +00:00
Add maven dep for jpa usage;
2015-06-19 17:18:16 +00:00
2015-06-20 15:33:09 +00:00
<dependency>
<groupId>net.forwardfire.tpquery</groupId>
<artifactId>tpquery-executor-jpa</artifactId>
2016-11-19 21:35:06 +00:00
<version>1.5.1-SNAPSHOT</version>
2015-06-20 15:33:09 +00:00
<scope>compile</scope>
</dependency>
2015-06-19 17:18:16 +00:00
## Files in this package
2015-12-27 15:38:49 +00:00
* 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.
2015-06-19 17:18:16 +00:00
## 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
2016-11-19 21:35:06 +00:00
### Version 1.5.1-SNAPSHOT
* Fixed execute dep artifact typo.
* Updated all dep versions.
### Version 1.5.0-SNAPSHOT
* First public release.
2015-06-20 15:21:52 +00:00
* fifth rewrite of idea.
2015-06-19 17:18:16 +00:00