Class PostgresEngine

    • Constructor Detail

      • PostgresEngine

        protected PostgresEngine()
                          throws java.lang.Exception
        Throws:
        java.lang.Exception
    • Method Detail

      • loadDatabaseDriver

        protected void loadDatabaseDriver()
                                   throws java.lang.ClassNotFoundException
        Description copied from class: DatabaseEngine
        If you need to load database drivers, here is your chance.
        Some JDBC drivers need to be loaded with Class.forName() to register with the JDBC driver manager.
        Specified by:
        loadDatabaseDriver in class DatabaseEngine
        Throws:
        java.lang.ClassNotFoundException
      • name

        public java.lang.String name()
        Specified by:
        name in class DatabaseEngine
        Returns:
        how the engine should be displayed in the UI. This will affect alphabetic sorting.
      • isRelational

        public boolean isRelational()
        Specified by:
        isRelational in class DatabaseEngine
        Returns:
        true if the engine is relational
      • allowUseForRepository

        public boolean allowUseForRepository()
        Specified by:
        allowUseForRepository in class DatabaseEngine
        Returns:
        true if this engine should be used for the repository
      • allowUseForIqm4hd

        public boolean allowUseForIqm4hd()
        Specified by:
        allowUseForIqm4hd in class DatabaseEngine
        Returns:
        true if this engine should be used for iqm4hd
      • supportsJdbc

        public boolean supportsJdbc()
        Specified by:
        supportsJdbc in class DatabaseEngine
        Returns:
        true if JDBC is supported
      • createDataSourceUrl

        public java.lang.String createDataSourceUrl​(DatabaseConnection connection)
        Description copied from class: DatabaseEngine
        Creates a JDBC data source URL that is used to create the JDBC connection.
        If the engine does not support JDBC this should return null.
        Specified by:
        createDataSourceUrl in class DatabaseEngine
        Parameters:
        connection - to create the data source URL for
        Returns:
        a data source URL ready to use with the JDBC driver manager