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.String
assemblyFullName
Fully assembly qualified name: System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static java.lang.String
assemblyShortName
Assembly name: System.Datastatic java.lang.String
className
Qualified class name: System.Data.OleDb.OleDbCommandstatic JCType
classType
The 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.Throwable
Internal constructor. Use with caution- Throws:
java.lang.Throwable
-
OleDbCommand
public OleDbCommand() throws java.lang.Throwable, ArgumentNullException
- Throws:
java.lang.Throwable
ArgumentNullException
-
OleDbCommand
public OleDbCommand(java.lang.String cmdText) throws java.lang.Throwable, ArgumentNullException
- Throws:
java.lang.Throwable
ArgumentNullException
-
OleDbCommand
public OleDbCommand(java.lang.String cmdText, OleDbConnection connection) throws java.lang.Throwable, ArgumentNullException, ArgumentException, AccessViolationException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
AccessViolationException
-
OleDbCommand
public OleDbCommand(java.lang.String cmdText, OleDbConnection connection, OleDbTransaction transaction) throws java.lang.Throwable, ArgumentNullException, ArgumentException, AccessViolationException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
AccessViolationException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOAssemblyName
in classDbCommand
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOClassName
in classDbCommand
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOObjectName
in classDbCommand
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Overrides:
getJCOInstance
in classDbCommand
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classDbCommand
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classDbCommand
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static OleDbCommand cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoOleDbCommand
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
OleDbCommand
instance- 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:
ExecuteNonQuery
in classDbCommand
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
MissingManifestResourceException
NotImplementedException
ObjectDisposedException
InvalidOperationException
ArgumentOutOfRangeException
IndexOutOfRangeException
AccessViolationException
OutOfMemoryException
FormatException
OverflowException
InvalidCastException
SqlNullValueException
NullReferenceException
MissingMethodException
TargetInvocationException
NotSupportedException
SecurityException
OleDbException
-
Clone
public OleDbCommand Clone() throws java.lang.Throwable, ArgumentNullException, ArgumentException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
-
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.Throwable
ArgumentNullException
ArgumentException
MissingManifestResourceException
ObjectDisposedException
InvalidOperationException
ArgumentOutOfRangeException
IndexOutOfRangeException
OutOfMemoryException
OverflowException
InvalidCastException
AccessViolationException
MissingMethodException
TargetInvocationException
FormatException
NotSupportedException
NotImplementedException
OleDbException
-
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.Throwable
ArgumentNullException
ArgumentException
MissingManifestResourceException
NotImplementedException
ObjectDisposedException
InvalidOperationException
ArgumentOutOfRangeException
IndexOutOfRangeException
AccessViolationException
OutOfMemoryException
FormatException
OverflowException
InvalidCastException
SqlNullValueException
NullReferenceException
MissingMethodException
TargetInvocationException
NotSupportedException
SecurityException
OleDbException
-
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:
ExecuteScalar
in classDbCommand
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
MissingManifestResourceException
NotImplementedException
ObjectDisposedException
InvalidOperationException
ArgumentOutOfRangeException
IndexOutOfRangeException
AccessViolationException
OutOfMemoryException
FormatException
OverflowException
InvalidCastException
SqlNullValueException
NullReferenceException
MissingMethodException
TargetInvocationException
NotSupportedException
SecurityException
OleDbException
-
Cancel
public void Cancel() throws java.lang.Throwable, ArgumentException, IndexOutOfRangeException, ArgumentOutOfRangeException, ArgumentNullException, MissingManifestResourceException, InvalidOperationException, OutOfMemoryException, AccessViolationException, ObjectDisposedException, AbandonedMutexException
- Overrides:
Cancel
in classDbCommand
- Throws:
java.lang.Throwable
ArgumentException
IndexOutOfRangeException
ArgumentOutOfRangeException
ArgumentNullException
MissingManifestResourceException
InvalidOperationException
OutOfMemoryException
AccessViolationException
ObjectDisposedException
AbandonedMutexException
-
Prepare
public void Prepare() throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, FormatException, AccessViolationException, OutOfMemoryException, OverflowException, InvalidCastException, SqlNullValueException
- Overrides:
Prepare
in classDbCommand
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
NotImplementedException
MissingManifestResourceException
ObjectDisposedException
InvalidOperationException
ArgumentOutOfRangeException
FormatException
AccessViolationException
OutOfMemoryException
OverflowException
InvalidCastException
SqlNullValueException
-
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.Throwable
ArgumentException
AccessViolationException
-
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
-
-