Package system.data.oledb
Class OleDbDataAdapter
- java.lang.Object
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,IJCOBridgeReflected
,ICloneable
public class OleDbDataAdapter extends DbDataAdapter
The base .NET class managing System.Data.OleDb.OleDbDataAdapter, 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.OleDbDataAdapter
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.OleDbDataAdapterstatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description OleDbDataAdapter()
OleDbDataAdapter(java.lang.Object instance)
Internal constructor.OleDbDataAdapter(java.lang.String selectCommandText, java.lang.String selectConnectionString)
OleDbDataAdapter(java.lang.String selectCommandText, OleDbConnection selectConnection)
OleDbDataAdapter(OleDbCommand selectCommand)
-
Method Summary
-
Methods inherited from class system.data.common.DbDataAdapter
Fill, Fill, Fill, Fill, Fill, FillSchema, FillSchema, FillSchema, getDeleteCommand, GetFillParameters, getInsertCommand, getSelectCommand, getUpdateBatchSize, getUpdateCommand, setDeleteCommand, setInsertCommand, setSelectCommand, setUpdateBatchSize, setUpdateCommand, Update, Update, Update, Update
-
Methods inherited from class system.data.common.DataAdapter
addFillError, getAcceptChangesDuringFill, getAcceptChangesDuringUpdate, getContinueUpdateOnError, getFillLoadOption, getMissingMappingAction, getMissingSchemaAction, getReturnProviderSpecificTypes, getTableMappings, removeFillError, ResetFillLoadOption, setAcceptChangesDuringFill, setAcceptChangesDuringUpdate, setContinueUpdateOnError, setFillLoadOption, setMissingMappingAction, setMissingSchemaAction, setReturnProviderSpecificTypes, ShouldSerializeAcceptChangesDuringFill, ShouldSerializeFillLoadOption
-
Methods inherited from class system.componentmodel.Component
addDisposed, close, Dispose, getContainer, getSite, removeDisposed, setSite
-
Methods inherited from class system.MarshalByRefObject
CreateObjRef, GetLifetimeService, InitializeLifetimeService
-
Methods inherited from class org.mases.jcobridge.netreflection.NetObject
Equals, Equals, GetHashCode, GetType, hashCode, toString, ToString
-
Methods inherited from interface system.ICloneable
Clone
-
-
-
-
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.OleDbDataAdapter- See Also:
- Constant Field Values
-
-
Constructor Detail
-
OleDbDataAdapter
public OleDbDataAdapter(java.lang.Object instance) throws java.lang.Throwable
Internal constructor. Use with caution- Throws:
java.lang.Throwable
-
OleDbDataAdapter
public OleDbDataAdapter() throws java.lang.Throwable, ArgumentNullException
- Throws:
java.lang.Throwable
ArgumentNullException
-
OleDbDataAdapter
public OleDbDataAdapter(OleDbCommand selectCommand) throws java.lang.Throwable, ArgumentNullException
- Throws:
java.lang.Throwable
ArgumentNullException
-
OleDbDataAdapter
public OleDbDataAdapter(java.lang.String selectCommandText, OleDbConnection selectConnection) throws java.lang.Throwable, ArgumentNullException, ArgumentException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
-
OleDbDataAdapter
public OleDbDataAdapter(java.lang.String selectCommandText, java.lang.String selectConnectionString) throws java.lang.Throwable, ArgumentNullException, ArgumentException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceICloneable
- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOAssemblyName
in classDbDataAdapter
- 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 interfaceICloneable
- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOClassName
in classDbDataAdapter
- 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 interfaceICloneable
- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOObjectName
in classDbDataAdapter
- 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 interfaceICloneable
- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Overrides:
getJCOInstance
in classDbDataAdapter
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classDbDataAdapter
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceICloneable
- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classDbDataAdapter
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static OleDbDataAdapter cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoOleDbDataAdapter
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
OleDbDataAdapter
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
Fill
public int Fill(DataSet dataSet, NetObject ADODBRecordSet, java.lang.String srcTable) throws java.lang.Throwable, ArgumentException, NotSupportedException, ArgumentNullException, ObjectDisposedException, AbandonedMutexException, CultureNotFoundException, ArgumentOutOfRangeException, InvalidOperationException, MissingMethodException, TargetInvocationException, NullReferenceException, SecurityException, NotImplementedException, MissingManifestResourceException, IndexOutOfRangeException, AccessViolationException, InvalidCastException, SqlNullValueException, COMException
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
ArgumentNullException
ObjectDisposedException
AbandonedMutexException
CultureNotFoundException
ArgumentOutOfRangeException
InvalidOperationException
MissingMethodException
TargetInvocationException
NullReferenceException
SecurityException
NotImplementedException
MissingManifestResourceException
IndexOutOfRangeException
AccessViolationException
InvalidCastException
SqlNullValueException
COMException
-
Fill
public int Fill(DataTable dataTable, NetObject ADODBRecordSet) throws java.lang.Throwable, ArgumentException, NotSupportedException, ArgumentNullException, ObjectDisposedException, AbandonedMutexException, CultureNotFoundException, ArgumentOutOfRangeException, InvalidOperationException, MissingMethodException, TargetInvocationException, NullReferenceException, SecurityException, IndexOutOfRangeException, NotImplementedException, MissingManifestResourceException, AccessViolationException, InvalidCastException, SqlNullValueException, COMException
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
ArgumentNullException
ObjectDisposedException
AbandonedMutexException
CultureNotFoundException
ArgumentOutOfRangeException
InvalidOperationException
MissingMethodException
TargetInvocationException
NullReferenceException
SecurityException
IndexOutOfRangeException
NotImplementedException
MissingManifestResourceException
AccessViolationException
InvalidCastException
SqlNullValueException
COMException
-
getDeleteCommandNewOleDbDataAdapter
public OleDbCommand getDeleteCommandNewOleDbDataAdapter() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setDeleteCommand
public void setDeleteCommand(OleDbCommand DeleteCommand) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getInsertCommandNewOleDbDataAdapter
public OleDbCommand getInsertCommandNewOleDbDataAdapter() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setInsertCommand
public void setInsertCommand(OleDbCommand InsertCommand) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getSelectCommandNewOleDbDataAdapter
public OleDbCommand getSelectCommandNewOleDbDataAdapter() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setSelectCommand
public void setSelectCommand(OleDbCommand SelectCommand) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getUpdateCommandNewOleDbDataAdapter
public OleDbCommand getUpdateCommandNewOleDbDataAdapter() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setUpdateCommand
public void setUpdateCommand(OleDbCommand UpdateCommand) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addRowUpdated
public void addRowUpdated(OleDbRowUpdatedEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeRowUpdated
public void removeRowUpdated(OleDbRowUpdatedEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addRowUpdating
public void addRowUpdating(OleDbRowUpdatingEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeRowUpdating
public void removeRowUpdating(OleDbRowUpdatingEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-