Package de.pisa.psa.rst.uti
Class OpenPostgresTransaction
- java.lang.Object
-
- de.pisa.psa.rst.uti.OpenPostgresTransaction
-
- All Implemented Interfaces:
java.lang.AutoCloseable
public class OpenPostgresTransaction extends java.lang.Object implements java.lang.AutoCloseable
A helper class that opens a transaction in the PostgreSQL database.
It is used to select records with a cursor. This is necessary for fetNxt.- Since:
- 15.08.2024
- Author:
- weiland
-
-
Constructor Summary
Constructors Constructor Description OpenPostgresTransaction(de.pisa.psc.srv.glb.PscSsn ssn)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
java.lang.String
toString()
-
-
-
Method Detail
-
close
public void close() throws java.lang.Exception
- Specified by:
close
in interfacejava.lang.AutoCloseable
- Throws:
java.lang.Exception
- See Also:
AutoCloseable.close()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
- See Also:
Object.toString()
-
-