Class MemConnection

All Implemented Interfaces:
AutoCloseable, Connection, Wrapper

public class MemConnection extends DatasetConnection
Represents a dataset connection backed by an in-memory dataset
  • Constructor Details

    • MemConnection

      public MemConnection(Dataset ds, int holdability, boolean autoCommit, int transactionLevel, int compatibilityLevel) throws SQLException
      Creates a new connection
      Parameters:
      ds - Dataset
      holdability - Result Set holdability
      autoCommit - Sets auto-commit behavior for the connection
      transactionLevel - Sets transaction isolation level for the connection
      compatibilityLevel - Sets JDBC compatibility level for the connection, see JdbcCompatibility
      Throws:
      SQLException
  • Method Details