public class OleDbConnection extends DbConnection implements ICloneable
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Data.OleDb.OleDbConnection
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, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
|
static java.lang.String |
assemblyShortName
Assembly name: System.Data
|
static java.lang.String |
className
Qualified class name: System.Data.OleDb.OleDbConnection
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
OleDbConnection() |
OleDbConnection(java.lang.Object instance)
Internal constructor.
|
OleDbConnection(java.lang.String connectionString) |
| Modifier and Type | Method and Description |
|---|---|
void |
addInfoMessage(OleDbInfoMessageEventHandler handler) |
OleDbTransaction |
BeginTransactionNewOleDbConnection() |
OleDbTransaction |
BeginTransactionNewOleDbConnection(IsolationLevel isolationLevel) |
static OleDbConnection |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into OleDbConnection, a cast assert is made to check if types are compatible. |
void |
ChangeDatabase(java.lang.String value) |
void |
Close() |
OleDbCommand |
CreateCommandNewOleDbConnection() |
void |
EnlistDistributedTransaction(ITransaction transaction) |
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 |
GetOleDbSchemaTable(Guid schema,
NetObject[] restrictions) |
java.lang.String |
getProvider() |
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() |
static void |
ReleaseObjectPool() |
void |
removeInfoMessage(OleDbInfoMessageEventHandler handler) |
void |
ResetState() |
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 OleDbConnection()
throws java.lang.Throwable,
ArgumentNullException
java.lang.ThrowableArgumentNullExceptionpublic OleDbConnection(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic OleDbConnection(java.lang.String connectionString)
throws java.lang.Throwable,
ArgumentNullException
java.lang.ThrowableArgumentNullExceptionpublic void addInfoMessage(OleDbInfoMessageEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic OleDbTransaction BeginTransactionNewOleDbConnection() throws java.lang.Throwable
java.lang.Throwablepublic OleDbTransaction BeginTransactionNewOleDbConnection(IsolationLevel isolationLevel) throws java.lang.Throwable
java.lang.Throwablepublic static OleDbConnection cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into OleDbConnection, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedOleDbConnection instancejava.lang.Throwable - in case of error during cast operationpublic void ChangeDatabase(java.lang.String value)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
NotImplementedException,
MissingManifestResourceException,
ObjectDisposedException,
InvalidOperationException,
ArgumentOutOfRangeException,
FormatException,
OutOfMemoryException,
IndexOutOfRangeException,
AccessViolationException
ChangeDatabase in class DbConnectionjava.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionFormatExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionAccessViolationExceptionpublic void Close()
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
NotImplementedException,
MissingManifestResourceException,
ObjectDisposedException,
InvalidOperationException,
ArgumentOutOfRangeException,
FormatException,
TransactionException,
PlatformNotSupportedException,
NotSupportedException,
SemaphoreFullException
Close in class DbConnectionjava.lang.ThrowableArgumentExceptionArgumentNullExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionFormatExceptionTransactionExceptionPlatformNotSupportedExceptionNotSupportedExceptionSemaphoreFullExceptionpublic OleDbCommand CreateCommandNewOleDbConnection() throws java.lang.Throwable, ArgumentNullException, ArgumentException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionpublic void EnlistDistributedTransaction(ITransaction transaction) 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 GetOleDbSchemaTable(Guid schema, NetObject[] restrictions) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, FormatException, NotSupportedException, NullReferenceException, ConfigurationErrorsException, DataException, OverflowException, InvalidCastException, KeyNotFoundException, IndexOutOfRangeException, AccessViolationException, SecurityException, MissingMethodException, TargetInvocationException, SqlNullValueException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionFormatExceptionNotSupportedExceptionNullReferenceExceptionConfigurationErrorsExceptionDataExceptionOverflowExceptionInvalidCastExceptionKeyNotFoundExceptionIndexOutOfRangeExceptionAccessViolationExceptionSecurityExceptionMissingMethodExceptionTargetInvocationExceptionSqlNullValueExceptionpublic java.lang.String getProvider()
throws java.lang.Throwable,
ArgumentNullException,
ObjectDisposedException,
AbandonedMutexException
java.lang.ThrowableArgumentNullExceptionObjectDisposedExceptionAbandonedMutexExceptionpublic 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, NotSupportedException, ArgumentOutOfRangeException, ArgumentNullException, CultureNotFoundException, ArgumentException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException
GetSchema in class DbConnectionjava.lang.ThrowableNotSupportedExceptionArgumentOutOfRangeExceptionArgumentNullExceptionCultureNotFoundExceptionArgumentExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionInvalidOperationExceptionIndexOutOfRangeExceptionpublic DataTable GetSchema(java.lang.String collectionName, java.lang.String[] restrictionValues) throws java.lang.Throwable, NotSupportedException, ArgumentOutOfRangeException, ArgumentNullException, CultureNotFoundException, ArgumentException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException
GetSchema in class DbConnectionjava.lang.ThrowableNotSupportedExceptionArgumentOutOfRangeExceptionArgumentNullExceptionCultureNotFoundExceptionArgumentExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionInvalidOperationExceptionIndexOutOfRangeExceptionpublic void Open()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
MissingManifestResourceException,
NotImplementedException,
ObjectDisposedException,
InvalidOperationException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
NullReferenceException,
ConfigurationErrorsException,
TransactionPromotionException,
TransactionException,
TransactionInDoubtException
Open in class DbConnectionjava.lang.ThrowableArgumentNullExceptionArgumentExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionNullReferenceExceptionConfigurationErrorsExceptionTransactionPromotionExceptionTransactionExceptionTransactionInDoubtExceptionpublic static void ReleaseObjectPool()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
MissingManifestResourceException,
NotImplementedException,
ObjectDisposedException,
InvalidOperationException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException
public void removeInfoMessage(OleDbInfoMessageEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void ResetState()
throws java.lang.Throwable,
ArgumentNullException,
InvalidOperationException,
OutOfMemoryException,
AccessViolationException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
MissingManifestResourceException,
ArgumentException
public void setJCOInstance(JCObject instance)
setJCOInstance in class DbConnection