Class PersistenceSession.PersistenceSessionDBInterface
java.lang.Object
com.inductiveautomation.ignition.gateway.localdb.AbstractDBInterface
com.inductiveautomation.ignition.gateway.localdb.persistence.PersistenceSession.PersistenceSessionDBInterface
- All Implemented Interfaces:
 DBInterface
- Enclosing class:
 - PersistenceSession
 
This is a special wrapper that uses our Connection for operations.
 It also has to make sure the connection isn't closed, as the base class does, after operations.
- 
Nested Class Summary
Nested classes/interfaces inherited from interface com.inductiveautomation.ignition.gateway.localdb.DBInterface
DBInterface.Transaction - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionlongGets the next value in a sequence.longgetSeq(String seqName, Connection connection) Like the other getSeq, but operates against a particular local db connection, which may be necessary if the sequence generation is part of a transaction.protected booleanMethods inherited from class com.inductiveautomation.ignition.gateway.localdb.AbstractDBInterface
resultSetToListNatural, runPrepQuery, runPrepQuery, runPrepUpdate, runPrepUpdate, runQuery, runQuery, runScalarQuery, runTransaction, runUpdateQuery, runUpdateQuery 
- 
Constructor Details
- 
PersistenceSessionDBInterface
 
 - 
 - 
Method Details
- 
getConnection
- Specified by:
 getConnectionin interfaceDBInterface- Specified by:
 getConnectionin classAbstractDBInterface- Throws:
 SQLException
 - 
shouldCloseConnection
protected boolean shouldCloseConnection()- Overrides:
 shouldCloseConnectionin classAbstractDBInterface
 - 
getSeq
Description copied from class:AbstractDBInterfaceGets the next value in a sequence.- Specified by:
 getSeqin interfaceDBInterface- Overrides:
 getSeqin classAbstractDBInterface- Throws:
 SQLException
 - 
getSeq
Description copied from interface:DBInterfaceLike the other getSeq, but operates against a particular local db connection, which may be necessary if the sequence generation is part of a transaction.- Specified by:
 getSeqin interfaceDBInterface- Overrides:
 getSeqin classAbstractDBInterface- Throws:
 SQLException
 
 -