public class JDBCHandler extends BasicFixtureHandler
| Constructor and Description |
|---|
JDBCHandler() |
JDBCHandler(Connection connection) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
autoCloseConnection(boolean autoCloseConnection) |
boolean |
canProcess(Map<String,Object> fixtureInput) |
void |
close() |
Connection |
connection() |
protected void |
connection(Connection connection) |
static JDBCHandler |
create() |
static JDBCHandler |
create(Connection connection) |
boolean |
isConnected() |
void |
process(Map<String,Object> fixtureInput) |
processpublic JDBCHandler(Connection connection)
public JDBCHandler()
public boolean canProcess(Map<String,Object> fixtureInput)
canProcess in class FixtureHandlerpublic void process(Map<String,Object> fixtureInput) throws FixtureException
process in class BasicFixtureHandlerFixtureExceptionpublic static JDBCHandler create()
public static JDBCHandler create(Connection connection)
public boolean isConnected()
public Connection connection()
protected void connection(Connection connection)
protected void autoCloseConnection(boolean autoCloseConnection)
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class FixtureHandlerIOExceptionCopyright © 2016. All rights reserved.