Class PostgresDictionary

java.lang.Object
org.apache.openjpa.jdbc.sql.DBDictionary
org.apache.openjpa.jdbc.sql.PostgresDictionary
All Implemented Interfaces:
JoinSyntaxes, Configurable, IdentifierConfiguration, ConnectionDecorator, LoggingConnectionDecorator.SQLWarningHandler

public class PostgresDictionary extends DBDictionary
Dictionary for PostgreSQL.
  • Field Details

    • _timestampTypes

      protected Set<String> _timestampTypes
    • allSequencesSQL

      public String allSequencesSQL
      SQL statement to load all sequence schema,name pairs from all schemas.
    • namedSequencesFromAllSchemasSQL

      public String namedSequencesFromAllSchemasSQL
      SQL statement to load schema,name pairs for all sequences with a certain name from all schemas.
    • allSequencesFromOneSchemaSQL

      public String allSequencesFromOneSchemaSQL
      SQL statement to load schema,name pairs from a named schema.
    • namedSequenceFromOneSchemaSQL

      public String namedSequenceFromOneSchemaSQL
      SQL statement to load a sequence's schema,name pair from one schema.
    • supportsSetFetchSize

      public boolean supportsSetFetchSize
      Some Postgres drivers do not support the Statement.setFetchSize(int) method.
    • isOwnedSequenceSQL

      public String isOwnedSequenceSQL
      Statement used to determine whether a sequence is owned. Owned sequences are managed by the database and are considered system sequences. parm 1: '<table_name.schema_name>' parm 2: ''
  • Constructor Details

    • PostgresDictionary

      public PostgresDictionary()
  • Method Details