ConfigurationMBean
, DescriptorBean
, javax.management.DynamicMBean
, javax.management.MBeanRegistration
, javax.management.NotificationBroadcaster
, SettableBean
, WebLogicMBean
JDBCStoreMBean
, JMSJDBCStoreMBean
, TransactionLogJDBCStoreMBean
public interface GenericJDBCStoreMBean extends ConfigurationMBean
This MBean defines the parameters for the JDBC store. It is the parent of the JDBCStoreMBean and the deprecated JMSJDBCStoreMBean.
DEFAULT_EMPTY_BYTE_ARRAY
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
getCreateTableDDLFile() |
Specifies the DDL (Data Definition Language) file to use for
creating the JDBC store's backing table.
|
java.lang.String |
getPrefixName() |
The prefix for the JDBC store's database table
(
WLStore ), in the following format:
[[[catalog.]schema.]prefix] . |
void |
setCreateTableDDLFile(java.lang.String name) |
Sets the value of the
CreateTableDDLFile
attribute. |
void |
setPrefixName(java.lang.String name) |
Sets the value of
PrefixName attribute. |
freezeCurrentValue, getId, getInheritedProperties, getName, getNotes, isDynamicallyCreated, isInherited, isSet, restoreDefaultValue, setComments, setDefaultedMBean, setName, setNotes, setPersistenceEnabled, unSet
addPropertyChangeListener, createChildCopyIncludingObsolete, getParentBean, isEditable, removePropertyChangeListener
getAttribute, getAttributes, invoke, setAttribute, setAttributes
postDeregister, postRegister, preDeregister, preRegister
addNotificationListener, getNotificationInfo, removeNotificationListener
getMBeanInfo, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setParent
java.lang.String getPrefixName()
The prefix for the JDBC store's database table
(WLStore
), in the following format:
[[[catalog.]schema.]prefix]
.
Each period symbol in the [[catalog.]schema.]prefix
format is significant, where schema generally corresponds to
username in many databases. When no prefix is specified, the JDBC
store table name is simply WLStore
and the database
implicitly determines the schema according to the JDBC connection's
user. As a best practice, you should always configure a prefix for
the JDBC WLStore
table name.
For specific guidelines about using JDBC store prefixes, refer to the "Using the WebLogic Store" section of Designing and Configuring WebLogic Server Environments".
void setPrefixName(java.lang.String name) throws javax.management.InvalidAttributeValueException
Sets the value of PrefixName
attribute.
name
- The new prefixName valuejavax.management.InvalidAttributeValueException
getPrefixName()
java.lang.String getCreateTableDDLFile()
Specifies the DDL (Data Definition Language) file to use for creating the JDBC store's backing table.
This field is ignored when the JDBC store's backing table, WLStore
,
already exists.
If a DDL file is not specified and the JDBC store detects that a
backing table doesn't already exist, the JDBC store automatically
creates the table by executing a preconfigured DDL file
that is specific to the database vendor. These preconfigured files
are located in the weblogic\\store\\io\\jdbc\\ddl
directory
of the MIDDLEWARE_HOME\\modules\\com.bea.core.store.jdbc_x.x.x.x.jar
file.
If a DDL file is specified and the JDBC store detects that a backing table doesn't already exist, then the JDBC store searches for the DDL file in the file path first, and then if the file is not found, it searches for it in the CLASSPATH. Once found, the SQL within the DDL file is executed to create the JDBC store's database table. If the DDL file is not found and the backing table doesn't already exist, the JDBC store will fail to boot.
void setCreateTableDDLFile(java.lang.String name) throws javax.management.InvalidAttributeValueException
Sets the value of the CreateTableDDLFile
attribute.
javax.management.InvalidAttributeValueException
setCreateTableDDLFile(java.lang.String)