public class OdbcCommand extends DbCommand implements ICloneable
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Data.Odbc.OdbcCommand
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.Odbc.OdbcCommand
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
OdbcCommand() |
OdbcCommand(java.lang.Object instance)
Internal constructor.
|
OdbcCommand(java.lang.String cmdText) |
OdbcCommand(java.lang.String cmdText,
OdbcConnection connection) |
OdbcCommand(java.lang.String cmdText,
OdbcConnection connection,
OdbcTransaction transaction) |
CreateParameter, ExecuteReader, ExecuteReader, getCommandText, getCommandTimeout, getCommandType, getConnection, getDesignTimeVisible, getParameters, getTransaction, getUpdatedRowSource, setCommandText, setCommandTimeout, setCommandType, setConnection, setDesignTimeVisible, setTransaction, setUpdatedRowSourceaddDisposed, 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 OdbcCommand()
throws java.lang.Throwable,
ArgumentNullException
java.lang.ThrowableArgumentNullExceptionpublic OdbcCommand(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic OdbcCommand(java.lang.String cmdText)
throws java.lang.Throwable,
ArgumentNullException
java.lang.ThrowableArgumentNullExceptionpublic OdbcCommand(java.lang.String cmdText,
OdbcConnection connection)
throws java.lang.Throwable,
ArgumentNullException
java.lang.ThrowableArgumentNullExceptionpublic OdbcCommand(java.lang.String cmdText,
OdbcConnection connection,
OdbcTransaction transaction)
throws java.lang.Throwable,
ArgumentNullException
java.lang.ThrowableArgumentNullExceptionpublic void Cancel()
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
ArgumentOutOfRangeException,
OutOfMemoryException,
NotImplementedException,
CultureNotFoundException,
IndexOutOfRangeException,
MissingManifestResourceException,
ObjectDisposedException,
InvalidOperationException
Cancel in class DbCommandjava.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionpublic static OdbcCommand cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into OdbcCommand, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedOdbcCommand instancejava.lang.Throwable - in case of error during cast operationpublic OdbcParameter CreateParameterNewOdbcCommand() throws java.lang.Throwable
java.lang.Throwablepublic int ExecuteNonQuery()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
NotImplementedException,
CultureNotFoundException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
MissingManifestResourceException,
ObjectDisposedException,
InvalidOperationException,
OutOfMemoryException,
FormatException,
OverflowException,
SqlNullValueException,
InvalidCastException,
NotSupportedException,
AccessViolationException
ExecuteNonQuery in class DbCommandjava.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionOutOfMemoryExceptionFormatExceptionOverflowExceptionSqlNullValueExceptionInvalidCastExceptionNotSupportedExceptionAccessViolationExceptionpublic OdbcDataReader ExecuteReaderNewOdbcCommand() throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, FormatException, OutOfMemoryException, OverflowException, SqlNullValueException, InvalidCastException, CultureNotFoundException, NotSupportedException, AccessViolationException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionFormatExceptionOutOfMemoryExceptionOverflowExceptionSqlNullValueExceptionInvalidCastExceptionCultureNotFoundExceptionNotSupportedExceptionAccessViolationExceptionpublic OdbcDataReader ExecuteReaderNewOdbcCommand(CommandBehavior behavior) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, OutOfMemoryException, FormatException, OverflowException, SqlNullValueException, InvalidCastException, NotSupportedException, AccessViolationException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionOutOfMemoryExceptionFormatExceptionOverflowExceptionSqlNullValueExceptionInvalidCastExceptionNotSupportedExceptionAccessViolationExceptionpublic NetObject ExecuteScalar() throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, OutOfMemoryException, FormatException, OverflowException, SqlNullValueException, InvalidCastException, NotSupportedException, AccessViolationException
ExecuteScalar in class DbCommandjava.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionOutOfMemoryExceptionFormatExceptionOverflowExceptionSqlNullValueExceptionInvalidCastExceptionNotSupportedExceptionAccessViolationExceptionpublic OdbcConnection getConnectionNewOdbcCommand() throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in interface ICloneablegetJCOAssemblyName in class DbCommandString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in interface ICloneablegetJCOClassName in class DbCommandString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in interface ICloneablegetJCOInstance in class DbCommandObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in interface ICloneablegetJCOObjectName in class DbCommandString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in interface ICloneablegetJCOType in class DbCommandJCType representing the CLR Type of the instantiated Classpublic OdbcParameterCollection getParametersNewOdbcCommand() throws java.lang.Throwable
java.lang.Throwablepublic OdbcTransaction getTransactionNewOdbcCommand() throws java.lang.Throwable
java.lang.Throwablepublic void Prepare()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
NotImplementedException,
CultureNotFoundException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
MissingManifestResourceException,
ObjectDisposedException,
InvalidOperationException,
OutOfMemoryException
Prepare in class DbCommandjava.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionOutOfMemoryExceptionpublic void ResetCommandTimeout()
throws java.lang.Throwable
java.lang.Throwablepublic void setConnection(OdbcConnection Connection) throws java.lang.Throwable
java.lang.Throwablepublic void setJCOInstance(JCObject instance)
setJCOInstance in class DbCommandpublic void setTransaction(OdbcTransaction Transaction) throws java.lang.Throwable
java.lang.Throwable