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.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.OleDbDataAdapterstatic JCTypeclassTypeThe 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.ThrowableInternal constructor. Use with caution- Throws:
java.lang.Throwable
-
OleDbDataAdapter
public OleDbDataAdapter() throws java.lang.Throwable, ArgumentNullException- Throws:
java.lang.ThrowableArgumentNullException
-
OleDbDataAdapter
public OleDbDataAdapter(OleDbCommand selectCommand) throws java.lang.Throwable, ArgumentNullException
- Throws:
java.lang.ThrowableArgumentNullException
-
OleDbDataAdapter
public OleDbDataAdapter(java.lang.String selectCommandText, OleDbConnection selectConnection) throws java.lang.Throwable, ArgumentNullException, ArgumentException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentException
-
OleDbDataAdapter
public OleDbDataAdapter(java.lang.String selectCommandText, java.lang.String selectConnectionString) throws java.lang.Throwable, ArgumentNullException, ArgumentException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceICloneable- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classDbDataAdapter- 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 interfaceICloneable- Specified by:
getJCOClassNamein interfaceIJCOBridgeReflected- Overrides:
getJCOClassNamein classDbDataAdapter- 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 interfaceICloneable- Specified by:
getJCOObjectNamein interfaceIJCOBridgeReflected- Overrides:
getJCOObjectNamein classDbDataAdapter- 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 interfaceICloneable- Specified by:
getJCOInstancein interfaceIJCOBridgeReflected- Overrides:
getJCOInstancein classDbDataAdapter- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classDbDataAdapter
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceICloneable- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classDbDataAdapter- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static OleDbDataAdapter cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoOleDbDataAdapter, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
OleDbDataAdapterinstance- 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.ThrowableArgumentExceptionNotSupportedExceptionArgumentNullExceptionObjectDisposedExceptionAbandonedMutexExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNullReferenceExceptionSecurityExceptionNotImplementedExceptionMissingManifestResourceExceptionIndexOutOfRangeExceptionAccessViolationExceptionInvalidCastExceptionSqlNullValueExceptionCOMException
-
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.ThrowableArgumentExceptionNotSupportedExceptionArgumentNullExceptionObjectDisposedExceptionAbandonedMutexExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNullReferenceExceptionSecurityExceptionIndexOutOfRangeExceptionNotImplementedExceptionMissingManifestResourceExceptionAccessViolationExceptionInvalidCastExceptionSqlNullValueExceptionCOMException
-
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
-
-