Class PamConnection

java.lang.Object
generalDatabase.PamConnection

public class PamConnection extends Object
Slightly modified connection object to pass around - contains not only the database connection, but also an sqlTypes object which can get's used to make a few slightly non standard mods to some column and data formats to keep the various dbms's happy together.
Author:
Douglas Gillespie
  • Constructor Details

    • PamConnection

      public PamConnection(DBSystem dbSystem, Connection connection, SQLTypes sqlTypes)
      Constructor needs a connection object and an sqlTypes object.
      Parameters:
      connection - Database connection
      sqlTypes - SQLTypes object.
  • Method Details

    • getDbSystem

      public DBSystem getDbSystem()
    • getConnection

      public Connection getConnection()
    • getSqlTypes

      public SQLTypes getSqlTypes()
    • getKeywords

      public String getKeywords()
      Get a list of database sql keywords.
      Returns:
      list of keywords or an error message.