public class FluentJdbcSingleConnectionDemo extends Object
When utilizing Fluent JDBC in a framework such as Flyway
which wants to fully manage connection state, you can construct an instance
of FluentJdbc using a Connection object. It will use this
single connection for all JDBC operations it performs. The connection
will not be closed by Fluent JDBC.
A FluentJdbc object that is constructed using a Connection
object shouldn't be shared among multiple concurrent threads, since most
transaction management approaches assume a connection per thread.
| Constructor and Description |
|---|
FluentJdbcSingleConnectionDemo() |
Copyright © 2014–2015 Carl Harris, Jr. All rights reserved.