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 SummaryNested classes/interfaces inherited from interface com.inductiveautomation.ignition.gateway.localdb.DBInterfaceDBInterface.Transaction
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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.AbstractDBInterfaceresultSetToListNatural, runPrepQuery, runPrepQuery, runPrepUpdate, runPrepUpdate, runQuery, runQuery, runScalarQuery, runTransaction, runUpdateQuery, runUpdateQuery
- 
Constructor Details- 
PersistenceSessionDBInterface
 
- 
- 
Method Details- 
getConnection- Specified by:
- getConnectionin interface- DBInterface
- Specified by:
- getConnectionin class- AbstractDBInterface
- Throws:
- SQLException
 
- 
shouldCloseConnectionprotected boolean shouldCloseConnection()- Overrides:
- shouldCloseConnectionin class- AbstractDBInterface
 
- 
getSeqDescription copied from class:AbstractDBInterfaceGets the next value in a sequence.- Specified by:
- getSeqin interface- DBInterface
- Overrides:
- getSeqin class- AbstractDBInterface
- Throws:
- SQLException
 
- 
getSeqDescription 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 interface- DBInterface
- Overrides:
- getSeqin class- AbstractDBInterface
- Throws:
- SQLException
 
 
-