Uses of Interface
guru.mikelue.jdut.jdbc.SurroundingConfig
-
Packages that use SurroundingConfig Package Description guru.mikelue.jdut.jdbc This package provides coding library of JDBC by usage of lambda expression.
When we are coding database operations with JDBC, there are two things important, and, annoying: The handling ofSQLException
The release of resource This package is intent on "surrounding" your JDBC code by lambda expressions. -
-
Uses of SurroundingConfig in guru.mikelue.jdut.jdbc
Methods in guru.mikelue.jdut.jdbc with parameters of type SurroundingConfig Modifier and Type Method Description static <T extends AutoCloseable>
JdbcRunnableJdbcTemplateFactory. buildRunnable(JdbcSupplier<? extends T> supplier, JdbcVoidFunction<T> worker, SurroundingConfig<T,Void> surroundingConfig)
Builds the runnable and work for JDBC operation.static <T extends AutoCloseable,R>
JdbcSupplier<R>JdbcTemplateFactory. buildSupplier(JdbcSupplier<? extends T> supplier, JdbcFunction<T,R> worker, SurroundingConfig<T,R> surroundingConfig)
Builds the supplier and work for JDBC operation.static <T,R>
JdbcFunction<T,R>JdbcTemplateFactory. surround(JdbcFunction<T,R> surroundedJdbcFunction, SurroundingConfig<T,R> surroundingConfig)
Surrounds surroundedJdbcFunction with surroundings(by sequence).
-