spring-jdbc-template-tools

Spring jdbc template tools.

License

License

GroupId

GroupId

com.github.lkqm
ArtifactId

ArtifactId

spring-jdbc-template-tools
Last Version

Last Version

1.0.0
Release Date

Release Date

Type

Type

jar
Description

Description

spring-jdbc-template-tools
Spring jdbc template tools.
Project URL

Project URL

https://github.com/lkqm/spring-jdbc-template-tools
Source Code Management

Source Code Management

https://github.com/lkqm/spring-jdbc-template-tools

Download spring-jdbc-template-tools

How to add to project

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

Dependencies

compile (2)

Group / Artifact Type Version
org.springframework : spring-jdbc jar 5.2.8.RELEASE
javax.persistence : javax.persistence-api jar 2.2

provided (1)

Group / Artifact Type Version
org.projectlombok : lombok jar 1.18.12

test (3)

Group / Artifact Type Version
org.junit.jupiter : junit-jupiter-api jar 5.6.2
org.junit.jupiter : junit-jupiter-engine jar 5.6.2
com.h2database : h2 jar 1.4.200

Project Modules

There are no modules declared in this project.

spring-jdbc-tools Maven Central

Spring jdbc tools for crud operations.

Features

  • Easy CRUD operations.
  • Supports Java persistent api annotation.

Quick

JdbcTemplatePlus

    int insert(Object data); 
    int deleteById(Object id, Class<?> entityClass);    // deleteByIds
    int updateById(Object data);
    T findById(Object id, Class<T> entityClass);        // findByIds

OR JdbcTemplateUtils

    PreparedSql parseInsert(Object data);
    PreparedSql parseDelete(Object id, Class<?> entityClass);
    PreparedSql parseUpdate(Object data);
    PreparedSql parseFind(Object id, Class<?> entityClass);
    RowMapper<T> parseRowMapper(Class<T> entityClass);

Java Persistent API

  • @Table: custom table name.
  • @Column: custom column name.
  • @Id: identify primary key, default field named 'id'.

Versions

Version
1.0.0