public class JEConnection
extends java.lang.Object
implements java.io.Closeable
| Constructor and Description |
|---|
JEConnection(JEManagedConnection mc) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
Environment |
getEnvironment() |
(package private) JELocalTransaction |
getLocalTransaction() |
Transaction |
getTransaction() |
Database |
openDatabase(java.lang.String name,
DatabaseConfig config) |
SecondaryDatabase |
openSecondaryDatabase(java.lang.String name,
Database primaryDatabase,
SecondaryConfig config) |
void |
removeDatabase(java.lang.String databaseName) |
(package private) void |
setLocalTransaction(JELocalTransaction txn) |
protected void |
setManagedConnection(JEManagedConnection mc,
JELocalTransaction lt) |
long |
truncateDatabase(java.lang.String databaseName,
boolean returnCount) |
public JEConnection(JEManagedConnection mc)
protected void setManagedConnection(JEManagedConnection mc, JELocalTransaction lt)
JELocalTransaction getLocalTransaction()
void setLocalTransaction(JELocalTransaction txn)
public Environment getEnvironment()
public Database openDatabase(java.lang.String name, DatabaseConfig config) throws DatabaseException
DatabaseExceptionpublic SecondaryDatabase openSecondaryDatabase(java.lang.String name, Database primaryDatabase, SecondaryConfig config) throws DatabaseException
DatabaseExceptionpublic void removeDatabase(java.lang.String databaseName)
throws DatabaseException
DatabaseExceptionpublic long truncateDatabase(java.lang.String databaseName,
boolean returnCount)
throws DatabaseException
DatabaseExceptionpublic Transaction getTransaction() throws ResourceException
ResourceExceptionpublic void close()
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableCopyright (c) 2004-2012 Oracle. All rights reserved.