Class DatabaseHelper

    • Constructor Detail

      • DatabaseHelper

        public DatabaseHelper()
    • Method Detail

      • setSystemProperty

        public static String setSystemProperty​(String name,
                                               String def)
      • setDatabaseName

        public void setDatabaseName​(String name)
      • setDatabaseForTests

        public static void setDatabaseForTests​(String className)
        Sets the database backend used for VCS unit tests.
      • setOwner

        protected void setOwner()
      • setBinaryManager

        public static void setBinaryManager​(Class<? extends BinaryManager> binaryManagerClass,
                                            String key)
      • getDeploymentContrib

        public abstract String getDeploymentContrib()
      • sleepForFulltext

        public void sleepForFulltext()
        For databases that do asynchronous fulltext indexing, sleep a bit.
      • getRecursiveRemovalDepthLimit

        public int getRecursiveRemovalDepthLimit()
        For databases that fail to cascade deletes beyond a certain depth.
      • supportsClustering

        public boolean supportsClustering()
        For databases that don't support clustering.
      • supportsMultipleFulltextIndexes

        public boolean supportsMultipleFulltextIndexes()
      • supportsFulltextSearch

        public boolean supportsFulltextSearch()
        Since:
        11.1
      • supportsXA

        public boolean supportsXA()
      • supportsSoftDelete

        public boolean supportsSoftDelete()
      • supportsSequenceId

        public boolean supportsSequenceId()
        Whether this database supports "sequence" as an id type.
        Since:
        5.9.3
      • supportsArrayColumns

        public boolean supportsArrayColumns()