Package system.data.oracleclient
Class OracleCommand
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.MarshalByRefObject
-
- system.componentmodel.Component
-
- system.data.common.DbCommand
-
- system.data.oracleclient.OracleCommand
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,IJCOBridgeReflected
public class OracleCommand extends DbCommand
The base .NET class managing System.Data.OracleClient.OracleCommand, 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.OracleCommand
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.OracleClient, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static java.lang.String
assemblyShortName
Assembly name: System.Data.OracleClientstatic java.lang.String
className
Qualified class name: System.Data.OracleClient.OracleCommandstatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description OracleCommand()
OracleCommand(java.lang.Object instance)
Internal constructor.OracleCommand(java.lang.String commandText)
OracleCommand(java.lang.String commandText, OracleConnection connection)
OracleCommand(java.lang.String commandText, OracleConnection connection, OracleTransaction tx)
-
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.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.OracleCommand- See Also:
- Constant Field Values
-
-
Constructor Detail
-
OracleCommand
public OracleCommand(java.lang.Object instance) throws java.lang.Throwable
Internal constructor. Use with caution- Throws:
java.lang.Throwable
-
OracleCommand
public OracleCommand() throws java.lang.Throwable, ArgumentNullException
- Throws:
java.lang.Throwable
ArgumentNullException
-
OracleCommand
public OracleCommand(java.lang.String commandText) throws java.lang.Throwable, ArgumentNullException
- Throws:
java.lang.Throwable
ArgumentNullException
-
OracleCommand
public OracleCommand(java.lang.String commandText, OracleConnection connection) throws java.lang.Throwable, ArgumentNullException
- Throws:
java.lang.Throwable
ArgumentNullException
-
OracleCommand
public OracleCommand(java.lang.String commandText, OracleConnection connection, OracleTransaction tx) throws java.lang.Throwable, ArgumentNullException
- Throws:
java.lang.Throwable
ArgumentNullException
-
-
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 OracleCommand cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoOracleCommand
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
OracleCommand
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
ExecuteNonQuery
public int ExecuteNonQuery() throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, FormatException, OverflowException, InvalidCastException, OutOfMemoryException, AccessViolationException, MissingMethodException, TargetInvocationException, NotSupportedException
- Overrides:
ExecuteNonQuery
in classDbCommand
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
NotImplementedException
MissingManifestResourceException
ObjectDisposedException
InvalidOperationException
ArgumentOutOfRangeException
FormatException
OverflowException
InvalidCastException
OutOfMemoryException
AccessViolationException
MissingMethodException
TargetInvocationException
NotSupportedException
-
ExecuteOracleNonQuery
public int ExecuteOracleNonQuery(JCORefOut<OracleString> rowid) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, FormatException, OverflowException, InvalidCastException, OutOfMemoryException, AccessViolationException, MissingMethodException, TargetInvocationException, NotSupportedException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
NotImplementedException
MissingManifestResourceException
ObjectDisposedException
InvalidOperationException
ArgumentOutOfRangeException
FormatException
OverflowException
InvalidCastException
OutOfMemoryException
AccessViolationException
MissingMethodException
TargetInvocationException
NotSupportedException
-
ExecuteReaderNewOracleCommand
public OracleDataReader ExecuteReaderNewOracleCommand() throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, FormatException, OverflowException, InvalidCastException, OutOfMemoryException, AccessViolationException, MissingMethodException, TargetInvocationException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
NotImplementedException
MissingManifestResourceException
ObjectDisposedException
InvalidOperationException
ArgumentOutOfRangeException
FormatException
OverflowException
InvalidCastException
OutOfMemoryException
AccessViolationException
MissingMethodException
TargetInvocationException
-
ExecuteReaderNewOracleCommand
public OracleDataReader ExecuteReaderNewOracleCommand(CommandBehavior behavior) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, FormatException, OverflowException, InvalidCastException, OutOfMemoryException, AccessViolationException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
NotImplementedException
CultureNotFoundException
IndexOutOfRangeException
ArgumentOutOfRangeException
MissingManifestResourceException
ObjectDisposedException
InvalidOperationException
FormatException
OverflowException
InvalidCastException
OutOfMemoryException
AccessViolationException
-
CreateParameterNewOracleCommand
public OracleParameter CreateParameterNewOracleCommand() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Clone
public NetObject Clone() throws java.lang.Throwable, ArgumentNullException
- Throws:
java.lang.Throwable
ArgumentNullException
-
ExecuteOracleScalar
public NetObject ExecuteOracleScalar() throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, FormatException, OverflowException, InvalidCastException, OutOfMemoryException, AccessViolationException, MissingMethodException, TargetInvocationException, NotSupportedException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
NotImplementedException
MissingManifestResourceException
ObjectDisposedException
InvalidOperationException
ArgumentOutOfRangeException
FormatException
OverflowException
InvalidCastException
OutOfMemoryException
AccessViolationException
MissingMethodException
TargetInvocationException
NotSupportedException
-
ExecuteScalar
public NetObject ExecuteScalar() throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, FormatException, OverflowException, InvalidCastException, OutOfMemoryException, AccessViolationException, MissingMethodException, TargetInvocationException, NotSupportedException
- Overrides:
ExecuteScalar
in classDbCommand
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
NotImplementedException
MissingManifestResourceException
ObjectDisposedException
InvalidOperationException
ArgumentOutOfRangeException
FormatException
OverflowException
InvalidCastException
OutOfMemoryException
AccessViolationException
MissingMethodException
TargetInvocationException
NotSupportedException
-
Cancel
public void Cancel() throws java.lang.Throwable
-
Prepare
public void Prepare() throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException, OutOfMemoryException
- Overrides:
Prepare
in classDbCommand
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
IndexOutOfRangeException
OutOfMemoryException
-
ResetCommandTimeout
public void ResetCommandTimeout() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getConnectionNewOracleCommand
public OracleConnection getConnectionNewOracleCommand() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setConnection
public void setConnection(OracleConnection Connection) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getParametersNewOracleCommand
public OracleParameterCollection getParametersNewOracleCommand() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getTransactionNewOracleCommand
public OracleTransaction getTransactionNewOracleCommand() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setTransaction
public void setTransaction(OracleTransaction Transaction) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-