Package system.data.oledb
Class OleDbCommand
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.MarshalByRefObject
-
- system.componentmodel.Component
-
- system.data.common.DbCommand
-
- system.data.oledb.OleDbCommand
-
- All Implemented Interfaces:
java.lang.AutoCloseable,IJCOBridgeReflected
public class OleDbCommand extends DbCommand
The base .NET class managing System.Data.OleDb.OleDbCommand, System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Data.OleDb.OleDbCommand
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, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static java.lang.StringassemblyShortNameAssembly name: System.Datastatic java.lang.StringclassNameQualified class name: System.Data.OleDb.OleDbCommandstatic JCTypeclassTypeThe type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description OleDbCommand()OleDbCommand(java.lang.Object instance)Internal constructor.OleDbCommand(java.lang.String cmdText)OleDbCommand(java.lang.String cmdText, OleDbConnection connection)OleDbCommand(java.lang.String cmdText, OleDbConnection connection, OleDbTransaction transaction)
-
Method Summary
-
Methods inherited from class system.data.common.DbCommand
CreateParameter, ExecuteReader, ExecuteReader, getCommandText, getCommandTimeout, getCommandType, getConnection, getDesignTimeVisible, getParameters, getTransaction, getUpdatedRowSource, setCommandText, setCommandTimeout, setCommandType, setConnection, setDesignTimeVisible, setTransaction, setUpdatedRowSource
-
Methods inherited from class system.componentmodel.Component
addDisposed, close, Dispose, getContainer, getSite, removeDisposed, setSite
-
Methods inherited from class system.MarshalByRefObject
CreateObjRef, GetLifetimeService, InitializeLifetimeService
-
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Data, 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- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Data.OleDb.OleDbCommand- See Also:
- Constant Field Values
-
-
Constructor Detail
-
OleDbCommand
public OleDbCommand(java.lang.Object instance) throws java.lang.ThrowableInternal constructor. Use with caution- Throws:
java.lang.Throwable
-
OleDbCommand
public OleDbCommand() throws java.lang.Throwable, ArgumentNullException- Throws:
java.lang.ThrowableArgumentNullException
-
OleDbCommand
public OleDbCommand(java.lang.String cmdText) throws java.lang.Throwable, ArgumentNullException- Throws:
java.lang.ThrowableArgumentNullException
-
OleDbCommand
public OleDbCommand(java.lang.String cmdText, OleDbConnection connection) throws java.lang.Throwable, ArgumentNullException, ArgumentException, AccessViolationException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionAccessViolationException
-
OleDbCommand
public OleDbCommand(java.lang.String cmdText, OleDbConnection connection, OleDbTransaction transaction) throws java.lang.Throwable, ArgumentNullException, ArgumentException, AccessViolationException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionAccessViolationException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classDbCommand- 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 interfaceIJCOBridgeReflected- Overrides:
getJCOClassNamein classDbCommand- 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 interfaceIJCOBridgeReflected- Overrides:
getJCOObjectNamein classDbCommand- 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 interfaceIJCOBridgeReflected- Overrides:
getJCOInstancein classDbCommand- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classDbCommand
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classDbCommand- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static OleDbCommand cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoOleDbCommand, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
OleDbCommandinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
ExecuteNonQuery
public int ExecuteNonQuery() throws java.lang.Throwable, ArgumentNullException, ArgumentException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, AccessViolationException, OutOfMemoryException, FormatException, OverflowException, InvalidCastException, SqlNullValueException, NullReferenceException, MissingMethodException, TargetInvocationException, NotSupportedException, SecurityException, OleDbException- Overrides:
ExecuteNonQueryin classDbCommand- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionAccessViolationExceptionOutOfMemoryExceptionFormatExceptionOverflowExceptionInvalidCastExceptionSqlNullValueExceptionNullReferenceExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionSecurityExceptionOleDbException
-
Clone
public OleDbCommand Clone() throws java.lang.Throwable, ArgumentNullException, ArgumentException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentException
-
ExecuteReaderNewOleDbCommand
public OleDbDataReader ExecuteReaderNewOleDbCommand() throws java.lang.Throwable, ArgumentNullException, ArgumentException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, OutOfMemoryException, OverflowException, InvalidCastException, AccessViolationException, MissingMethodException, TargetInvocationException, FormatException, NotSupportedException, NotImplementedException, OleDbException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionOverflowExceptionInvalidCastExceptionAccessViolationExceptionMissingMethodExceptionTargetInvocationExceptionFormatExceptionNotSupportedExceptionNotImplementedExceptionOleDbException
-
ExecuteReaderNewOleDbCommand
public OleDbDataReader ExecuteReaderNewOleDbCommand(CommandBehavior behavior) throws java.lang.Throwable, ArgumentNullException, ArgumentException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, AccessViolationException, OutOfMemoryException, FormatException, OverflowException, InvalidCastException, SqlNullValueException, NullReferenceException, MissingMethodException, TargetInvocationException, NotSupportedException, SecurityException, OleDbException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionAccessViolationExceptionOutOfMemoryExceptionFormatExceptionOverflowExceptionInvalidCastExceptionSqlNullValueExceptionNullReferenceExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionSecurityExceptionOleDbException
-
CreateParameterNewOleDbCommand
public OleDbParameter CreateParameterNewOleDbCommand() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
ExecuteScalar
public NetObject ExecuteScalar() throws java.lang.Throwable, ArgumentNullException, ArgumentException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, AccessViolationException, OutOfMemoryException, FormatException, OverflowException, InvalidCastException, SqlNullValueException, NullReferenceException, MissingMethodException, TargetInvocationException, NotSupportedException, SecurityException, OleDbException
- Overrides:
ExecuteScalarin classDbCommand- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionAccessViolationExceptionOutOfMemoryExceptionFormatExceptionOverflowExceptionInvalidCastExceptionSqlNullValueExceptionNullReferenceExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionSecurityExceptionOleDbException
-
Cancel
public void Cancel() throws java.lang.Throwable, ArgumentException, IndexOutOfRangeException, ArgumentOutOfRangeException, ArgumentNullException, MissingManifestResourceException, InvalidOperationException, OutOfMemoryException, AccessViolationException, ObjectDisposedException, AbandonedMutexException- Overrides:
Cancelin classDbCommand- Throws:
java.lang.ThrowableArgumentExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionArgumentNullExceptionMissingManifestResourceExceptionInvalidOperationExceptionOutOfMemoryExceptionAccessViolationExceptionObjectDisposedExceptionAbandonedMutexException
-
Prepare
public void Prepare() throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, FormatException, AccessViolationException, OutOfMemoryException, OverflowException, InvalidCastException, SqlNullValueException- Overrides:
Preparein classDbCommand- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionFormatExceptionAccessViolationExceptionOutOfMemoryExceptionOverflowExceptionInvalidCastExceptionSqlNullValueException
-
ResetCommandTimeout
public void ResetCommandTimeout() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getConnectionNewOleDbCommand
public OleDbConnection getConnectionNewOleDbCommand() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setConnection
public void setConnection(OleDbConnection Connection) throws java.lang.Throwable, ArgumentException, AccessViolationException
- Throws:
java.lang.ThrowableArgumentExceptionAccessViolationException
-
getParametersNewOleDbCommand
public OleDbParameterCollection getParametersNewOleDbCommand() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getTransactionNewOleDbCommand
public OleDbTransaction getTransactionNewOleDbCommand() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setTransaction
public void setTransaction(OleDbTransaction Transaction) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-