Package org.apache.derby.iapi.db
Class PropertyInfo
- java.lang.Object
-
- org.apache.derby.iapi.db.PropertyInfo
-
public final class PropertyInfo extends java.lang.ObjectPropertyInfo 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
PROPERTYINFOin SQL-J statements.
-
-
Constructor Summary
Constructors Modifier Constructor Description privatePropertyInfo()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidsetDatabaseProperty(java.lang.String key, java.lang.String value)Set or delete the value of a property of the database on the current connection.
-
-
-
Method Detail
-
setDatabaseProperty
public static void setDatabaseProperty(java.lang.String key, java.lang.String value) throws java.sql.SQLExceptionSet 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:
java.sql.SQLException- on error
-
-