Package org.apache.derby.iapi.db
Class PropertyInfo
java.lang.Object
org.apache.derby.iapi.db.PropertyInfo
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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
setDatabaseProperty
(String key, String value) Set or delete the value of a property of the database on the current connection.
-
Constructor Details
-
PropertyInfo
private PropertyInfo()
-
-
Method Details
-
setDatabaseProperty
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 keyvalue
- the new value, if null the property is deleted.- Throws:
SQLException
- on error
-