Class Sticky
java.lang.Object
com.github.fabriciofx.cactoos.jdbc.session.Sticky
- All Implemented Interfaces:
Session
Session that holds always the same Connection.
- Since:
- 0.4
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
Sticky
Ctor.- Parameters:
session
- Session
-
-
Method Details
-
connection
Description copied from interface:Session
Create aConnection
.- Specified by:
connection
in interfaceSession
- Returns:
- A
Connection
- Throws:
Exception
- If fails
-