TPQuery is a java library providing templated prepared statements with native parameter support.
Find a file
2016-11-19 22:35:06 +01:00
ff-tpquery-executor-jdbc Updated version because of fix of dep artifact mismatch. 2016-11-19 22:23:01 +01:00
ff-tpquery-executor-jpa Updated version because of fix of dep artifact mismatch. 2016-11-19 22:23:01 +01:00
ff-tpquery-store Updated version because of fix of dep artifact mismatch. 2016-11-19 22:23:01 +01:00
src moved index to readme 2015-06-20 17:24:08 +02:00
.gitignore ignores all log files 2016-11-19 22:21:03 +01:00
build.md Prep for repro+art rename 2015-12-27 15:44:17 +01:00
license.txt Added full project 2015-06-19 17:26:29 +02:00
pom.xml Updated version because of fix of dep artifact mismatch. 2016-11-19 22:23:01 +01:00
README.md updated readme 2016-11-19 22:35:06 +01:00
TODO.md updated from comments 2015-12-27 16:38:49 +01:00

FF-TPQuery

FF-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>ff-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.
  • ff-tpquery-executor-jdbc - Jdbc executor implementation. (SQL only)
  • ff-tpquery-executor-jpa - JPA executor implementation. (SQL and HQL)
  • ff-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.