Package 

Class SQLiteDatabaseConfiguration


  • 
    public final class SQLiteDatabaseConfiguration
    
                        

    Describes how to configure a database.

    The purpose of this object is to keep track of all of the little configuration settings that are applied to a database after it is opened so that they can be applied to all connections in the connection pool uniformly.

    Each connection maintains its own copy of this object so it can keep track of which settings have already been applied.

    • Constructor Detail

      • SQLiteDatabaseConfiguration

        SQLiteDatabaseConfiguration(String path, int openFlags)
        Creates a database configuration with the required parameters for opening adatabase and default values for all other parameters.
        Parameters:
        path - The database path.
        openFlags - Open flags for the database, such as OPEN_READWRITE.
      • SQLiteDatabaseConfiguration

        SQLiteDatabaseConfiguration(String path, int openFlags, List<SQLiteCustomFunction> customFunctions, List<SQLiteFunction> functions, List<SQLiteCustomExtension> extensions)
        Creates a database configuration with the required parameters for opening adatabase and default values for all other parameters.
        Parameters:
        path - The database path.
        openFlags - Open flags for the database, such as OPEN_READWRITE.
        functions - custom functions to use.
        extensions - custom extensions to use.
    • Method Detail

      • isInMemoryDb

         boolean isInMemoryDb()

        Returns true if the database is in-memory.