SOP4J DbUtils

A fork of Apache Commons-DbUtils.

Лицензия

Лицензия

Группа

Группа

com.sop4j
Идентификатор

Идентификатор

dbutils
Последняя версия

Последняя версия

2.2
Дата

Дата

Тип

Тип

jar
Описание

Описание

SOP4J DbUtils
A fork of Apache Commons-DbUtils.
Ссылка на сайт

Ссылка на сайт

http://www.sop4j.com/
Система контроля версий

Система контроля версий

https://github.com/wspeirs/sop4j-dbutils

Скачать dbutils

Как подключить последнюю версию

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

Зависимости

compile (3)

Идентификатор библиотеки Тип Версия
org.hibernate.javax.persistence : hibernate-jpa-2.0-api jar 1.0.1.Final
commons-beanutils : commons-beanutils jar 1.9.1
org.slf4j : slf4j-api jar 1.7.7

test (3)

Идентификатор библиотеки Тип Версия
junit : junit jar 4.11
org.mockito : mockito-core jar 1.9.5
org.hamcrest : hamcrest-all jar 1.3

Модули Проекта

Данный проект не имеет модулей.

sop4j-dbutils

Overview

commons-dbutils is a JDBC utility library that has been around since 2003. A number of projects use it to ensure that JDBC connections are properly closed. The main goals of the project are:

  • Small: You should be able to understand the whole package in a short amount of time.
  • Transparent: DbUtils doesn't do any magic behind the scenes. You give it a query, it executes it and cleans up for you.
  • Fast: You don't need to create a million temporary objects to work with DbUtils.

Why sop4j-dbutils?

A natural question is to ask is, "Why fork commons-dbutils, why not just contribute?" The answer is that I initially did contribute to dbutils, but have since stopped because of how hard it is to release new versions of commons-dbutils. Long story short, I gave up. However, I had already written version 2 of dbutils and wanted to make sure it saw the light of day. So instead of trying work through commons-dbutils and all its problems I simply decided to fork the project and "start over" with sop4j-dbutils.

What's new in sop4j-dbutils?

The biggest feature that sop4j-dbutils (or dbutilsv2) brings to the table is a fluent API with named parameter support. Other than that, a few bug fixes have been merged into the code and hopfully by hosting on GitHub anyone can make a pull request with a patch and/or file a bug.

How can I help?

Helping is easy, just clone the repo, make your changes, and file a pull request. If you don't feel comfortable making changes directly -- and you should-- you can also file a bug/issue.

If you like what you see here please check out the SOP4J blog.

Версии библиотеки

Версия
2.2
2.1
2.0