Top Description Constructors Methods
org.apache.derby.iapi.db

public final Class PropertyInfo

extends Object
Class Inheritance
Imports
org.apache.derby.shared.common.error.PublicAPI, .StandardException, org.apache.derby.iapi.security.Securable, .SecurityUtil, org.apache.derby.iapi.sql.Activation, org.apache.derby.iapi.sql.conn.Authorizer, .LanguageConnectionContext, .ConnectionUtil, org.apache.derby.iapi.store.access.TransactionController, java.sql.SQLException

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 Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static void
setDatabaseProperty(String
the property key
key
,
String
the new value, if null the property is deleted.
value
)

Set or delete the value of a property of the database on the current connection.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

PropertyInfoback to summary
private PropertyInfo()

Method Detail

setDatabasePropertyback to summary
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:String

the property key

value:String

the new value, if null the property is deleted.

Exceptions
SQLException:
on error