Interface FirebirdConnectionProperties

    • Method Detail

      • getDatabase

        @Deprecated
        default java.lang.String getDatabase()
        Deprecated.
        Use DatabaseConnectionProperties.getDatabaseName(); will be removed in Jaybird 6 or later
        Returns:
        path to the database including the server name and the port, if needed.
      • setDatabase

        @Deprecated
        default void setDatabase​(java.lang.String database)
        Deprecated.
        Use DatabaseConnectionProperties.setDatabaseName(String); will be removed in Jaybird 6 or later
        Parameters:
        database - path to the database including the server name and the port, if needed.
      • getUserName

        @Deprecated
        default java.lang.String getUserName()
        Deprecated.
        Use AttachmentProperties.getUser() instead; will be retained indefinitely for compatibility
        Returns:
        name of the user that will be used when connecting to the database.
      • setUserName

        @Deprecated
        default void setUserName​(java.lang.String userName)
        Deprecated.
        Use AttachmentProperties.setUser(String); will be retained indefinitely for compatibility
        Parameters:
        userName - name of the user that will be used when connecting to the database.
      • getBuffersNumber

        @Deprecated
        default int getBuffersNumber()
        Deprecated.
        Use DatabaseConnectionProperties.getPageCacheSize(); will be removed in Jaybird 6
        Returns:
        number of cache buffers that should be allocated for this connection, should be specified for ClassicServer instances, SuperServer has a server-wide configuration parameter.
      • setBuffersNumber

        @Deprecated
        default void setBuffersNumber​(int buffersNumber)
        Deprecated.
        Use DatabaseConnectionProperties.setPageCacheSize(int); will be removed in Jaybird 6
        Parameters:
        buffersNumber - number of cache buffers that should be allocated for this connection, should be specified for ClassicServer instances, SuperServer has a server-wide configuration parameter.
      • getNonStandardProperty

        @Deprecated
        default java.lang.String getNonStandardProperty​(java.lang.String key)
        Deprecated.
        Use BaseProperties.getProperty(String); will be removed in Jaybird 6
        Get the property that does not have corresponding getter method by its name.
        Parameters:
        key - name of the property to get.
        Returns:
        value of the property.
      • setNonStandardProperty

        @Deprecated
        default void setNonStandardProperty​(java.lang.String key,
                                            java.lang.String value)
        Deprecated.
        Use BaseProperties.setProperty(String, String); will be removed in Jaybird 6
        Set the property that does not have corresponding setter method.
        Parameters:
        key - name of the property to set.
        value - value of the property.
      • setNonStandardProperty

        void setNonStandardProperty​(java.lang.String propertyMapping)
        Set the property that does not have corresponding setter method.
        Parameters:
        propertyMapping - parameter value in the propertyName[=propertyValue] form, this allows setting non-standard parameters using configuration files.
      • getTransactionParameters

        TransactionParameterBuffer getTransactionParameters​(int isolation)
        Get the transaction parameter buffer corresponding to the current connection request information.
        Parameters:
        isolation - transaction isolation level for which TPB should be returned.
        Returns:
        instance of TransactionParameterBuffer.
      • setTransactionParameters

        void setTransactionParameters​(int isolation,
                                      TransactionParameterBuffer tpb)
        Set transaction parameters for the specified transaction isolation level. The specified TPB is used as a default mapping for the specified isolation level.
        Parameters:
        isolation - transaction isolation level.
        tpb - instance of TransactionParameterBuffer containing transaction parameters.