TPQuery is a java library providing templated prepared statements with native parameter support.
Go to file
2020-10-18 21:53:18 +00:00
src moved index to readme 2015-06-20 17:24:08 +02:00
tpquery-executor-jdbc [Task-3]-updated java11 and junit5 2020-10-17 15:08:21 +05:30
tpquery-executor-jpa [Task-3]-updated java11 and junit5 2020-10-17 15:08:21 +05:30
tpquery-store [Task-3]-updated java11 and junit5 2020-10-17 15:08:21 +05:30
.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.md Remove ff prefix and updated root text files. 2017-06-10 18:44:38 +02:00
pom.xml [Task-3]-updated java11 and junit5 2020-10-17 15:08:21 +05:30
readme.md [Task-3]-updated java11 and junit5 2020-10-17 15:08:21 +05:30
todo.md [Task-3]-updated java11 and junit5 2020-10-17 15:08:21 +05:30

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.