Package scriptella.core
Class Session
java.lang.Object
scriptella.core.Session
A helper class for EtlContext to store and work with connections/executors.
Available from EtlContext
- Version:
- 1.0
- Author:
- Fyodor Kupolov
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()voidcommit()voidexecute(EtlContext ctx) longlongReturns update counts reported by this session's connections.voidrollback()
-
Constructor Details
-
Session
-
-
Method Details
-
execute
-
getExecutedStatementsCount
public long getExecutedStatementsCount() -
getUpdateCount
public long getUpdateCount()Returns update counts reported by this session's connections. -
close
public void close() -
commit
public void commit() -
rollback
public void rollback()
-