Class PropertyInfo

java.lang.Object
org.apache.derby.iapi.db.PropertyInfo

public final class PropertyInfo extends Object
PropertyInfo is a class with static methods that set properties associated with a database.

This class can only be used within an SQL-J statement, a Java procedure or a server side Java method.

This class can be accessed using the class alias PROPERTYINFO in SQL-J statements.

  • Constructor Details

    • PropertyInfo

      private PropertyInfo()
  • Method Details

    • setDatabaseProperty

      public static void setDatabaseProperty(String key, String value) throws SQLException
      Set or delete the value of a property of the database on the current connection. For security reasons (see DERBY-6616), this code is duplicated in SystemProcedures.
      Parameters:
      key - the property key
      value - the new value, if null the property is deleted.
      Throws:
      SQLException - on error