Skip to content
lightweight-componentPublic

About

A lightweight Data Access Library for Java

Topics

Resources

Stars

2 stars

Watchers

1 watching

Forks

Repository files navigation

SqlMan

CRUD Tools for Java


Maven CentralJava VersionJavadoccoverageLicenseAsk DeepWikiEmail中文


SqlMan 2.3 is a lightweight wrapper over JDBC. It is NOT an ORM but follows an SQL-first approach. It supports raw SQL, Map/Bean write-SQL generation, pagination, and XML or inline templates with <if>, <else>, and <forEach>. Template #{name} values use JDBC parameter binding, while ${name} accepts validated SQL identifiers only. Query results are Maps or JavaBeans, with compact APIs for common JDBC operations.

Generated Map writes convert lower camel-case keys such as tenantId to tenant_id.

Source code

Github | GitCode

Link

Web Site | Tutorials | Java Documents | Ask DeepWiki

Install

Runs on Java8+. Maven:

<dependency>
    <groupId>com.ajaxjs</groupId>
    <artifactId>sqlman</artifactId>
    <version>2.3</version>
</dependency>

Entity writes support NullValue.NULL_LOCAL_DATE_TIME to explicitly write SQL NULL for a LocalDateTime property. The reserved marker is LocalDateTime.MIN. Ordinary null Bean properties are omitted. Raw SQL parameters should use actual null.

About

A lightweight Data Access Library for Java

Topics

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages