Package system.data.oracleclient
Class OracleConnection
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.MarshalByRefObject
-
- system.componentmodel.Component
-
- system.data.common.DbConnection
-
- system.data.oracleclient.OracleConnection
-
- All Implemented Interfaces:
java.lang.AutoCloseable,IJCOBridgeReflected,ICloneable
public class OracleConnection extends DbConnection implements ICloneable
The base .NET class managing System.Data.OracleClient.OracleConnection, System.Data.OracleClient, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089..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
- Author:
- MASES s.r.l https://masesgroup.com
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringassemblyFullNameFully assembly qualified name: System.Data.OracleClient, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static java.lang.StringassemblyShortNameAssembly name: System.Data.OracleClientstatic java.lang.StringclassNameQualified class name: System.Data.OracleClient.OracleConnectionstatic JCTypeclassTypeThe type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description OracleConnection()OracleConnection(java.lang.Object instance)Internal constructor.OracleConnection(java.lang.String connectionString)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddInfoMessage(OracleInfoMessageEventHandler handler)OracleTransactionBeginTransactionNewOracleConnection()OracleTransactionBeginTransactionNewOracleConnection(IsolationLevel il)static OracleConnectioncast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoOracleConnection, a cast assert is made to check if types are compatible.voidChangeDatabase(java.lang.String value)static voidClearAllPools()static voidClearPool(OracleConnection connection)voidClose()OracleCommandCreateCommandNewOracleConnection()voidEnlistDistributedTransaction(ITransaction distributedTransaction)voidEnlistTransaction(Transaction transaction)java.lang.StringgetJCOAssemblyName()Returns the reflected Assembly namejava.lang.StringgetJCOClassName()Returns the reflected Class namejava.lang.ObjectgetJCOInstance()Returns the instantiated classjava.lang.StringgetJCOObjectName()Returns the reflected Class name used to build the objectJCTypegetJCOType()Returns the instantiated class TypeDataTableGetSchema()DataTableGetSchema(java.lang.String collectionName)DataTableGetSchema(java.lang.String collectionName, java.lang.String[] restrictionValues)DataTableGetSchema(java.lang.String dupParam0, JCORefOut dupParam1)voidOpen()voidremoveInfoMessage(OracleInfoMessageEventHandler handler)voidsetJCOInstance(JCObject instance)-
Methods inherited from class system.data.common.DbConnection
addStateChange, BeginTransaction, BeginTransaction, CreateCommand, getConnectionString, getConnectionTimeout, getDatabase, getDataSource, getServerVersion, getState, OpenAsync, OpenAsync, removeStateChange, setConnectionString
-
Methods inherited from class system.componentmodel.Component
addDisposed, close, Dispose, getContainer, getSite, removeDisposed, setSite
-
Methods inherited from class system.MarshalByRefObject
CreateObjRef, GetLifetimeService, InitializeLifetimeService
-
Methods inherited from class org.mases.jcobridge.netreflection.NetObject
Equals, Equals, GetHashCode, GetType, hashCode, toString, ToString
-
Methods inherited from interface system.ICloneable
Clone
-
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Data.OracleClient, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.Data.OracleClient- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Data.OracleClient.OracleConnection- See Also:
- Constant Field Values
-
-
Constructor Detail
-
OracleConnection
public OracleConnection(java.lang.Object instance) throws java.lang.ThrowableInternal constructor. Use with caution- Throws:
java.lang.Throwable
-
OracleConnection
public OracleConnection() throws java.lang.Throwable, ArgumentNullException- Throws:
java.lang.ThrowableArgumentNullException
-
OracleConnection
public OracleConnection(java.lang.String connectionString) throws java.lang.Throwable, ArgumentNullException- Throws:
java.lang.ThrowableArgumentNullException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceICloneable- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classDbConnection- Returns:
- A
Stringrepresenting the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name- Specified by:
getJCOClassNamein interfaceICloneable- Specified by:
getJCOClassNamein interfaceIJCOBridgeReflected- Overrides:
getJCOClassNamein classDbConnection- Returns:
- A
Stringrepresenting the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name used to build the object- Specified by:
getJCOObjectNamein interfaceICloneable- Specified by:
getJCOObjectNamein interfaceIJCOBridgeReflected- Overrides:
getJCOObjectNamein classDbConnection- Returns:
- A
Stringrepresenting the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class- Specified by:
getJCOInstancein interfaceICloneable- Specified by:
getJCOInstancein interfaceIJCOBridgeReflected- Overrides:
getJCOInstancein classDbConnection- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classDbConnection
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceICloneable- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classDbConnection- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static OracleConnection cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoOracleConnection, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
OracleConnectioninstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
GetSchema
public DataTable GetSchema() throws java.lang.Throwable, NotSupportedException
- Overrides:
GetSchemain classDbConnection- Throws:
java.lang.ThrowableNotSupportedException
-
GetSchema
public DataTable GetSchema(java.lang.String collectionName) throws java.lang.Throwable, NotSupportedException
- Overrides:
GetSchemain classDbConnection- Throws:
java.lang.ThrowableNotSupportedException
-
GetSchema
public DataTable GetSchema(java.lang.String collectionName, java.lang.String[] restrictionValues) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, CultureNotFoundException, ArgumentException, NotSupportedException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException
- Overrides:
GetSchemain classDbConnection- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionCultureNotFoundExceptionArgumentExceptionNotSupportedExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionInvalidOperationExceptionIndexOutOfRangeException
-
GetSchema
public DataTable GetSchema(java.lang.String dupParam0, JCORefOut dupParam1) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, CultureNotFoundException, ArgumentException, NotSupportedException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException
- Overrides:
GetSchemain classDbConnection- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionCultureNotFoundExceptionArgumentExceptionNotSupportedExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionInvalidOperationExceptionIndexOutOfRangeException
-
CreateCommandNewOracleConnection
public OracleCommand CreateCommandNewOracleConnection() throws java.lang.Throwable, ArgumentNullException
- Throws:
java.lang.ThrowableArgumentNullException
-
BeginTransactionNewOracleConnection
public OracleTransaction BeginTransactionNewOracleConnection() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
BeginTransactionNewOracleConnection
public OracleTransaction BeginTransactionNewOracleConnection(IsolationLevel il) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
ChangeDatabase
public void ChangeDatabase(java.lang.String value) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException- Overrides:
ChangeDatabasein classDbConnection- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedException
-
ClearAllPools
public static void ClearAllPools() throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, FormatException, PlatformNotSupportedException, SemaphoreFullException
-
ClearPool
public static void ClearPool(OracleConnection connection) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NullReferenceException, ArgumentOutOfRangeException, MissingManifestResourceException, InvalidOperationException, PlatformNotSupportedException, ObjectDisposedException, SemaphoreFullException
-
Close
public void Close() throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ConfigurationErrorsException, FormatException, TransactionException, PlatformNotSupportedException, NotSupportedException, LockRecursionException, SynchronizationLockException- Overrides:
Closein classDbConnection- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionConfigurationErrorsExceptionFormatExceptionTransactionExceptionPlatformNotSupportedExceptionNotSupportedExceptionLockRecursionExceptionSynchronizationLockException
-
EnlistDistributedTransaction
public 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
- Throws:
java.lang.ThrowableArgumentExceptionNotSupportedExceptionArgumentNullExceptionObjectDisposedExceptionAbandonedMutexExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNullReferenceExceptionNotImplementedExceptionMissingManifestResourceExceptionPlatformNotSupportedExceptionConfigurationErrorsExceptionConfigurationExceptionWaitHandleCannotBeOpenedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionTransactionExceptionOverflowExceptionTransactionManagerCommunicationException
-
EnlistTransaction
public void EnlistTransaction(Transaction transaction) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, ConfigurationErrorsException, KeyNotFoundException, IndexOutOfRangeException
- Overrides:
EnlistTransactionin classDbConnection- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionConfigurationErrorsExceptionKeyNotFoundExceptionIndexOutOfRangeException
-
Open
public void Open() throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, FormatException- Overrides:
Openin classDbConnection- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionFormatException
-
addInfoMessage
public void addInfoMessage(OracleInfoMessageEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeInfoMessage
public void removeInfoMessage(OracleInfoMessageEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-