Class LocalEntityConnectionProvider

    • Field Detail


        public static final PropertyValue<Boolean> SHUTDOWN_EMBEDDED_DB_ON_DISCONNECT
        Specifies whether an embedded database is shut down when disconnected from
        Value type: Boolean
        Default value: false
    • Constructor Detail

      • LocalEntityConnectionProvider

        public LocalEntityConnectionProvider()
        Instantiates a new LocalEntityConnectionProvider
      • LocalEntityConnectionProvider

        public LocalEntityConnectionProvider​(Database database)
        Instantiates a new LocalEntityConnectionProvider
        database - the Database instance to base this connection provider on
    • Method Detail

      • getConnectionType

        public String getConnectionType()
        Returns a String specifying the type of connection provided by this connection provider
        a String specifying the type of connection, e.g. "local" or "remote"
      • getDescription

        public String getDescription()
        the service identifier (sid) of the underlying database or the hostname if sid is not specified