public class OracleConnection extends DbConnection implements ICloneable
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Data.OracleClient.OracleConnection
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System.Data.OracleClient, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
|
static java.lang.String |
assemblyShortName
Assembly name: System.Data.OracleClient
|
static java.lang.String |
className
Qualified class name: System.Data.OracleClient.OracleConnection
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
OracleConnection() |
OracleConnection(java.lang.Object instance)
Internal constructor.
|
OracleConnection(java.lang.String connectionString) |
| Modifier and Type | Method and Description |
|---|---|
void |
addInfoMessage(OracleInfoMessageEventHandler handler) |
OracleTransaction |
BeginTransactionNewOracleConnection() |
OracleTransaction |
BeginTransactionNewOracleConnection(IsolationLevel il) |
static OracleConnection |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into OracleConnection, a cast assert is made to check if types are compatible. |
void |
ChangeDatabase(java.lang.String value) |
static void |
ClearAllPools() |
static void |
ClearPool(OracleConnection connection) |
void |
Close() |
OracleCommand |
CreateCommandNewOracleConnection() |
void |
EnlistDistributedTransaction(ITransaction distributedTransaction) |
void |
EnlistTransaction(Transaction transaction) |
java.lang.String |
getJCOAssemblyName()
Returns the reflected Assembly name
|
java.lang.String |
getJCOClassName()
Returns the reflected Class name
|
java.lang.Object |
getJCOInstance()
Returns the instantiated class
|
java.lang.String |
getJCOObjectName()
Returns the reflected Class name used to build the object
|
JCType |
getJCOType()
Returns the instantiated class Type
|
DataTable |
GetSchema() |
DataTable |
GetSchema(java.lang.String collectionName) |
DataTable |
GetSchema(java.lang.String dupParam0,
JCORefOut dupParam1) |
DataTable |
GetSchema(java.lang.String collectionName,
java.lang.String[] restrictionValues) |
void |
Open() |
void |
removeInfoMessage(OracleInfoMessageEventHandler handler) |
void |
setJCOInstance(JCObject instance) |
addStateChange, BeginTransaction, BeginTransaction, CreateCommand, getConnectionString, getConnectionTimeout, getDatabase, getDataSource, getServerVersion, getState, OpenAsync, OpenAsync, removeStateChange, setConnectionStringaddDisposed, close, Dispose, getContainer, getSite, removeDisposed, setSiteCreateObjRef, GetLifetimeService, InitializeLifetimeServiceEquals, Equals, GetHashCode, GetType, hashCode, toString, ToStringClone, ToICloneablepublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public OracleConnection()
throws java.lang.Throwable,
ArgumentNullException
java.lang.ThrowableArgumentNullExceptionpublic OracleConnection(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic OracleConnection(java.lang.String connectionString)
throws java.lang.Throwable,
ArgumentNullException
java.lang.ThrowableArgumentNullExceptionpublic void addInfoMessage(OracleInfoMessageEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic OracleTransaction BeginTransactionNewOracleConnection() throws java.lang.Throwable
java.lang.Throwablepublic OracleTransaction BeginTransactionNewOracleConnection(IsolationLevel il) throws java.lang.Throwable
java.lang.Throwablepublic static OracleConnection cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into OracleConnection, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedOracleConnection instancejava.lang.Throwable - in case of error during cast operationpublic void ChangeDatabase(java.lang.String value)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException
ChangeDatabase in class DbConnectionjava.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionpublic static void ClearAllPools()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
NotImplementedException,
MissingManifestResourceException,
ObjectDisposedException,
InvalidOperationException,
ArgumentOutOfRangeException,
FormatException,
PlatformNotSupportedException,
SemaphoreFullException
public static void ClearPool(OracleConnection connection) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NullReferenceException, ArgumentOutOfRangeException, MissingManifestResourceException, InvalidOperationException, PlatformNotSupportedException, ObjectDisposedException, SemaphoreFullException
public void Close()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
NotImplementedException,
CultureNotFoundException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
MissingManifestResourceException,
ObjectDisposedException,
InvalidOperationException,
ConfigurationErrorsException,
FormatException,
TransactionException,
PlatformNotSupportedException,
NotSupportedException,
LockRecursionException,
SynchronizationLockException
Close in class DbConnectionjava.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionConfigurationErrorsExceptionFormatExceptionTransactionExceptionPlatformNotSupportedExceptionNotSupportedExceptionLockRecursionExceptionSynchronizationLockExceptionpublic OracleCommand CreateCommandNewOracleConnection() throws java.lang.Throwable, ArgumentNullException
java.lang.ThrowableArgumentNullExceptionpublic void EnlistDistributedTransaction(ITransaction distributedTransaction) throws java.lang.Throwable, ArgumentException, NotSupportedException, ArgumentNullException, ObjectDisposedException, AbandonedMutexException, CultureNotFoundException, ArgumentOutOfRangeException, InvalidOperationException, MissingMethodException, TargetInvocationException, NullReferenceException, NotImplementedException, MissingManifestResourceException, PlatformNotSupportedException, ConfigurationErrorsException, ConfigurationException, WaitHandleCannotBeOpenedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, TransactionException, OverflowException, TransactionManagerCommunicationException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionArgumentNullExceptionObjectDisposedExceptionAbandonedMutexExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNullReferenceExceptionNotImplementedExceptionMissingManifestResourceExceptionPlatformNotSupportedExceptionConfigurationErrorsExceptionConfigurationExceptionWaitHandleCannotBeOpenedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionTransactionExceptionOverflowExceptionTransactionManagerCommunicationExceptionpublic void EnlistTransaction(Transaction transaction) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, ConfigurationErrorsException, KeyNotFoundException, IndexOutOfRangeException
EnlistTransaction in class DbConnectionjava.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionConfigurationErrorsExceptionKeyNotFoundExceptionIndexOutOfRangeExceptionpublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in interface ICloneablegetJCOAssemblyName in class DbConnectionString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in interface ICloneablegetJCOClassName in class DbConnectionString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in interface ICloneablegetJCOInstance in class DbConnectionObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in interface ICloneablegetJCOObjectName in class DbConnectionString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in interface ICloneablegetJCOType in class DbConnectionJCType representing the CLR Type of the instantiated Classpublic DataTable GetSchema() throws java.lang.Throwable, NotSupportedException
GetSchema in class DbConnectionjava.lang.ThrowableNotSupportedExceptionpublic DataTable GetSchema(java.lang.String collectionName) throws java.lang.Throwable, NotSupportedException
GetSchema in class DbConnectionjava.lang.ThrowableNotSupportedExceptionpublic DataTable GetSchema(java.lang.String dupParam0, JCORefOut dupParam1) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, CultureNotFoundException, ArgumentException, NotSupportedException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException
GetSchema in class DbConnectionjava.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionCultureNotFoundExceptionArgumentExceptionNotSupportedExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionInvalidOperationExceptionIndexOutOfRangeExceptionpublic DataTable GetSchema(java.lang.String collectionName, java.lang.String[] restrictionValues) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, CultureNotFoundException, ArgumentException, NotSupportedException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException
GetSchema in class DbConnectionjava.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionCultureNotFoundExceptionArgumentExceptionNotSupportedExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionInvalidOperationExceptionIndexOutOfRangeExceptionpublic void Open()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
NotImplementedException,
MissingManifestResourceException,
ObjectDisposedException,
InvalidOperationException,
ArgumentOutOfRangeException,
FormatException
Open in class DbConnectionjava.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionFormatExceptionpublic void removeInfoMessage(OracleInfoMessageEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void setJCOInstance(JCObject instance)
setJCOInstance in class DbConnection