GitHub user drinkjava2 opened a pull request:
https://github.com/apache/commons-dbutils/pull/2
This is not a real pull request, just give some suggestions
Hi there,
This is not a real pull request, because I can't find somewhere to open an
issue for DbUtils, so just use a pull request as replacement, I just want give
you some ideas how to improve this DbUtils project, especially on the
transaction control.
I made a small project called "DbUtils-Pro", it's based on DbUtils but made
these improvements:
1.Add in-line style SQL support, "in-line" style using ThreadLocal to weave
SQL parameters into a SQL String, easy to maintenance.
2.Add SQL Template support, DbUtils-Pro allowed customize to any Template
engine and it also already have a simple template implementation.
3.Improved DbUtils's Exception strategy, wrap SQLException to
RuntimeException
4.Add a ConnectionManager, make it easier to integrate with Spring or 3rd
party transaction services.
5.Original functions of DbUtils 100% kept, obviously, because DbPro is
extended from QueryRunner.
More introduce of DbUtils-Pro can see this file:
https://github.com/drinkjava2/commons-dbutils/blob/master/README_DbUtils-Pro.md
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/drinkjava2/commons-dbutils master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/commons-dbutils/pull/2.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #2
----
commit 18202e42a12896e6dbb5967a69c9421cd95a6ba6
Author: drinkjava2 <[email protected]>
Date: 2017-08-30T20:35:40Z
Add DbUtils-Pro
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]