com.moesol.bindings.microsoft.dao
Interface Connection

All Superinterfaces:
IDispatch, IUnknown
All Known Implementing Classes:
Connection.Jni

public interface Connection
extends IDispatch

IDL: [ helpstring(""), dual, nonextensible, oleautomation, dispatchable ] interface


Nested Class Summary
static class Connection.Disp
          Implementation, COM to Java.
static class Connection.Jni
          Implementation, Java to COM.
 
Field Summary
static GUID IID
          IDL: [uuid(00000041-0000-0010-8000-00AA006D2EA4)]
static Class TYPELIB
           
 
Fields inherited from interface com.moesol.bindings.platform_sdk.component_services.IDispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF
 
Method Summary
 void Cancel()
          IDL: [ helpstring("") ]
 void Close()
          IDL: [ helpstring("") ]
 QueryDef CreateQueryDef()
          [optional=2]
 QueryDef CreateQueryDef(Object Name)
          [optional=1]
 QueryDef CreateQueryDef(Object Name, Object SQLText)
          IDL: [ helpstring("") ]
 void Execute(String Query)
          [optional=1]
 void Execute(String Query, Object Options)
          IDL: [ helpstring("") ]
 String getConnect()
          IDL: [ helpstring("") ]
 Database getDatabase()
          IDL: [ helpstring("") ]
 int gethDbc()
          IDL: [ helpstring("") ]
 String getName()
          IDL: [ helpstring("") ]
 QueryDefs getQueryDefs()
          IDL: [ helpstring("") ]
 short getQueryTimeout()
          IDL: [ helpstring("") ]
 int getRecordsAffected()
          IDL: [ helpstring("") ]
 Recordsets getRecordsets()
          IDL: [ helpstring("") ]
 boolean getStillExecuting()
          IDL: [ helpstring("") ]
 boolean getTransactions()
          IDL: [ helpstring("") ]
 boolean getUpdatable()
          IDL: [ helpstring("") ]
 Recordset OpenRecordset(String Name)
          [optional=3]
 Recordset OpenRecordset(String Name, Object Type)
          [optional=2]
 Recordset OpenRecordset(String Name, Object Type, Object Options)
          [optional=1]
 Recordset OpenRecordset(String Name, Object Type, Object Options, Object LockEdit)
          IDL: [ helpstring("") ]
 void setQueryTimeout(short pSeconds)
          IDL: [ helpstring("") ]
 
Methods inherited from interface com.moesol.bindings.platform_sdk.component_services.IUnknown
QueryInterface, QueryInterface, Release
 

Field Detail

TYPELIB

static final Class TYPELIB

IID

static final GUID IID
IDL: [uuid(00000041-0000-0010-8000-00AA006D2EA4)]

Method Detail

getName

String getName()
IDL: [ helpstring("") ]

Returns:
IDL: [out] [retval] BSTR*

getConnect

String getConnect()
IDL: [ helpstring("") ]

Returns:
IDL: [out] [retval] BSTR*

getDatabase

Database getDatabase()
IDL: [ helpstring("") ]

Returns:
IDL: [out] [retval] Database**

gethDbc

int gethDbc()
IDL: [ helpstring("") ]

Returns:
IDL: [out] [retval] LONG*

getQueryTimeout

short getQueryTimeout()
IDL: [ helpstring("") ]

Returns:
IDL: [out] [retval] SHORT*

setQueryTimeout

void setQueryTimeout(short pSeconds)
IDL: [ helpstring("") ]

Parameters:
pSeconds - IDL: [in] SHORT

getTransactions

boolean getTransactions()
IDL: [ helpstring("") ]

Returns:
IDL: [out] [retval] VARIANT_BOOL*

getRecordsAffected

int getRecordsAffected()
IDL: [ helpstring("") ]

Returns:
IDL: [out] [retval] LONG*

getStillExecuting

boolean getStillExecuting()
IDL: [ helpstring("") ]

Returns:
IDL: [out] [retval] VARIANT_BOOL*

getUpdatable

boolean getUpdatable()
IDL: [ helpstring("") ]

Returns:
IDL: [out] [retval] VARIANT_BOOL*

getQueryDefs

QueryDefs getQueryDefs()
IDL: [ helpstring("") ]

Returns:
IDL: [out] [retval] QueryDefs**

getRecordsets

Recordsets getRecordsets()
IDL: [ helpstring("") ]

Returns:
IDL: [out] [retval] Recordsets**

Cancel

void Cancel()
IDL: [ helpstring("") ]


Close

void Close()
IDL: [ helpstring("") ]


CreateQueryDef

QueryDef CreateQueryDef(Object Name,
                        Object SQLText)
IDL: [ helpstring("") ]

Parameters:
Name - IDL: [in] [optional] VARIANT
SQLText - IDL: [in] [optional] VARIANT
Returns:
IDL: [out] [retval] QueryDef**

CreateQueryDef

QueryDef CreateQueryDef(Object Name)
[optional=1]


CreateQueryDef

QueryDef CreateQueryDef()
[optional=2]


Execute

void Execute(String Query,
             Object Options)
IDL: [ helpstring("") ]

Parameters:
Query - IDL: [in] BSTR
Options - IDL: [in] [optional] VARIANT

Execute

void Execute(String Query)
[optional=1]


OpenRecordset

Recordset OpenRecordset(String Name,
                        Object Type,
                        Object Options,
                        Object LockEdit)
IDL: [ helpstring("") ]

Parameters:
Name - IDL: [in] BSTR
Type - IDL: [in] [optional] VARIANT
Options - IDL: [in] [optional] VARIANT
LockEdit - IDL: [in] [optional] VARIANT
Returns:
IDL: [out] [retval] Recordset**

OpenRecordset

Recordset OpenRecordset(String Name,
                        Object Type,
                        Object Options)
[optional=1]


OpenRecordset

Recordset OpenRecordset(String Name,
                        Object Type)
[optional=2]


OpenRecordset

Recordset OpenRecordset(String Name)
[optional=3]



Copyright © 2004 Moebius Solutions, Inc. All Rights Reserved.