JSQLB

JSQLB is a little Java library for dynamically generating SQL.

License

License

GroupId

GroupId

com.github.fedorchuck
ArtifactId

ArtifactId

jsqlb
Last Version

Last Version

0.1.0
Release Date

Release Date

Type

Type

jar
Description

Description

JSQLB
JSQLB is a little Java library for dynamically generating SQL.
Project URL

Project URL

https://fedorchuck.github.io/jsqlb/website/index.html
Source Code Management

Source Code Management

https://github.com/fedorchuck/jsqlb

Download jsqlb

How to add to project

<!-- https://jarcasting.com/artifacts/com.github.fedorchuck/jsqlb/ -->
<dependency>
    <groupId>com.github.fedorchuck</groupId>
    <artifactId>jsqlb</artifactId>
    <version>0.1.0</version>
</dependency>
// https://jarcasting.com/artifacts/com.github.fedorchuck/jsqlb/
implementation 'com.github.fedorchuck:jsqlb:0.1.0'
// https://jarcasting.com/artifacts/com.github.fedorchuck/jsqlb/
implementation ("com.github.fedorchuck:jsqlb:0.1.0")
'com.github.fedorchuck:jsqlb:jar:0.1.0'
<dependency org="com.github.fedorchuck" name="jsqlb" rev="0.1.0">
  <artifact name="jsqlb" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.github.fedorchuck', module='jsqlb', version='0.1.0')
)
libraryDependencies += "com.github.fedorchuck" % "jsqlb" % "0.1.0"
[com.github.fedorchuck/jsqlb "0.1.0"]

Dependencies

compile (3)

Group / Artifact Type Version
org.projectlombok : lombok jar 1.16.16
org.slf4j : slf4j-api jar 1.7.25
commons-lang : commons-lang jar 2.6

Project Modules

There are no modules declared in this project.

JSQLB (Java SQL Builder) is a little Java library for dynamically generating SQL

Build Status Apache License Version 2.0 Maven Central Codacy Badge Codacy Badge

SQL:

INSERT INTO table1 ( column1, column3, column4, column5 ) VALUES ( ?, ?, ?, ? ) RETURNING * 

JSQLB:

new PostgreSQL().insert(table1, table1.getColumnsExcept(table1.getColumn("column2"))).returning().getSQL()

Another methods you can find in test , and/or in this project.

Versions

Version
0.1.0