public class JDBCEnvironmentBean extends Object implements JDBCEnvironmentBeanMBean
| Modifier and Type | Field and Description |
|---|---|
boolean |
defaultIsSameRMOverride |
| Constructor and Description |
|---|
JDBCEnvironmentBean() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getDefaultIsSameRMOverride()
Returns whether to override multiple connections for all drivers.
|
int |
getIsolationLevel()
Returns the default isolation level for tansactional database operations.
|
Hashtable |
getJndiProperties()
Returns the Hashtable used for the JNDI environment in transactional driver code.
|
void |
setDefaultIsSameRMOverride(boolean defaultIsSameRMOverride)
Configure so all drivers attempt to support multiple connections.
|
void |
setIsolationLevel(int isolationLevel)
Sets the default transaction isolation level for database operations.
|
void |
setJndiProperties(Hashtable jndiProperties)
Sets the JNDI properties used by transactional driver code.
|
public boolean getDefaultIsSameRMOverride()
public void setDefaultIsSameRMOverride(boolean defaultIsSameRMOverride)
defaultIsSameRMOverride - whether to try to reuse connection for all drivers.public int getIsolationLevel()
getIsolationLevel in interface JDBCEnvironmentBeanMBeanpublic void setIsolationLevel(int isolationLevel)
isolationLevel - the default connection isolation level.public Hashtable getJndiProperties()
getJndiProperties in interface JDBCEnvironmentBeanMBeanpublic void setJndiProperties(Hashtable jndiProperties)
jndiProperties - a Hashtable object containing JNDI context information.Copyright © 2019 JBoss by Red Hat. All rights reserved.