com.stimulsoft.report.dictionary.dataSources
Class StiJDBCSource

java.lang.Object
  extended by com.stimulsoft.base.serializing.StiSerializedObject
      extended by com.stimulsoft.report.dictionary.dataSources.StiDataSource
          extended by com.stimulsoft.report.dictionary.dataSources.StiDataStoreSource
              extended by com.stimulsoft.report.dictionary.dataSources.StiDataTableSource
                  extended by com.stimulsoft.report.dictionary.dataSources.StiSqlSource
                      extended by com.stimulsoft.report.dictionary.dataSources.StiJDBCSource
All Implemented Interfaces:
IStiJsonReportObject, IStiSerializable, IStiSerializableRef, IStiName, IStiEnumerator, IStiInherited, IStiStateSaveRestore, java.lang.Cloneable

public class StiJDBCSource
extends StiSqlSource

Describes the Data Source realizing access to OleDb.


Field Summary
 
Fields inherited from class com.stimulsoft.report.dictionary.dataSources.StiDataSource
columns, connectOnStart, detailRows, initForSubreport, RowToLevel
 
Fields inherited from interface com.stimulsoft.base.serializing.interfaceobject.IStiSerializableRef
REFERENCE_EMPTY, REFERENCE_REPORT
 
Constructor Summary
StiJDBCSource()
          Creates a new object of the type StiDataViewSource.
StiJDBCSource(java.lang.String nameInSource, java.lang.String name)
          Creates a new object of the type StiOleDbSource.
StiJDBCSource(java.lang.String nameInSource, java.lang.String name, java.lang.String alias)
          Creates a new object of the type StiOleDbSource.
StiJDBCSource(java.lang.String nameInSource, java.lang.String name, java.lang.String alias, java.lang.String sqlCommand)
          Creates a new object of the type StiOleDbSource.
StiJDBCSource(java.lang.String nameInSource, java.lang.String name, java.lang.String alias, java.lang.String sqlCommand, boolean connectOnStart)
           
StiJDBCSource(java.lang.String nameInSource, java.lang.String name, java.lang.String alias, java.lang.String sqlCommand, boolean connectOnStart, boolean reconnectOnEachRow)
           
StiJDBCSource(java.lang.String nameInSource, java.lang.String name, java.lang.String alias, java.lang.String sqlCommand, boolean connectOnStart, boolean reconnectOnEachRow, int commandTimeout)
           
 
Method Summary
 java.lang.Class<? extends StiDatabase> getDatabaseClass()
           
 java.lang.String getQuery()
           
 
Methods inherited from class com.stimulsoft.report.dictionary.dataSources.StiSqlSource
getAllowExpressions, getCommandTimeout, getConnectOnStart, getFinalSqlCommand, getNetType, getParameters, getReconnectOnEachRow, getSqlCommand, getType, LoadFromJsonObject, SaveToJsonObject, setAllowExpressions, setCommandTimeout, setConnectOnStart, setParameters, setReconnectOnEachRow, setSqlCommand, setType, UpdateParameters
 
Methods inherited from class com.stimulsoft.report.dictionary.dataSources.StiDataTableSource
GetCategoryName
 
Methods inherited from class com.stimulsoft.report.dictionary.dataSources.StiDataStoreSource
connect, connect, createNewTable, disconnect, getDataName, getNameInSource, setDataName, setNameInSource
 
Methods inherited from class com.stimulsoft.report.dictionary.dataSources.StiDataSource
CheckColumnsIndexs, clearAllStates, ClearAllStates, First, get, getAlias, GetChildDataSource, GetChildRelations, GetColumnIndex, getColumns, GetConditions, getConnectionOrder, getCount, GetData, getData, GetData, GetDataRow, getDataTable, getDictionary, getInherited, getIsBof, getIsConnected, getIsEmpty, getIsEof, getItem, getKey, GetLevel, getName, GetParentData, GetParentDataSource, GetParentRelations, getPosition, getPositionValue, getRealCount, getRelations, getRows, getVariableParameterByName, getVariableParameters, isEmpty, Last, Next, prepareData, Prior, ResetData, ResetDetailsRows, restoreState, RestoreState, saveState, setAlias, setColumns, setConnectionOrder, setCorrectName, SetData, setDataTable, SetDetails, setDictionary, SetFilter, setInherited, setIsBof, setIsEof, setKey, setName, setPosition, setPositionValue, setRows, SetSort, setVariableParameters, size, toString
 
Methods inherited from class com.stimulsoft.base.serializing.StiSerializedObject
cleanReference, getReference, setReference
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.stimulsoft.base.serializing.interfaceobject.IStiSerializableRef
getReference, setReference
 

Constructor Detail

StiJDBCSource

public StiJDBCSource()
Creates a new object of the type StiDataViewSource.


StiJDBCSource

public StiJDBCSource(java.lang.String nameInSource,
                     java.lang.String name)
Creates a new object of the type StiOleDbSource.

Parameters:
nameInSource - Name of OleDbConnection in the DataStore.
name - Data Source name.

StiJDBCSource

public StiJDBCSource(java.lang.String nameInSource,
                     java.lang.String name,
                     java.lang.String alias)
Creates a new object of the type StiOleDbSource.

Parameters:
nameInSource - Name of OleDbConnection in the DataStore.
name - Data Source name.
alias - Data Source alias.

StiJDBCSource

public StiJDBCSource(java.lang.String nameInSource,
                     java.lang.String name,
                     java.lang.String alias,
                     java.lang.String sqlCommand)
Creates a new object of the type StiOleDbSource.

Parameters:
nameInSource - Name of OleDbConnection in the DataStore.
name - Data Source name.
alias - Data Source alias.
sqlCommand - Transact-SQL statement to execute at the Data Source.

StiJDBCSource

public StiJDBCSource(java.lang.String nameInSource,
                     java.lang.String name,
                     java.lang.String alias,
                     java.lang.String sqlCommand,
                     boolean connectOnStart)

StiJDBCSource

public StiJDBCSource(java.lang.String nameInSource,
                     java.lang.String name,
                     java.lang.String alias,
                     java.lang.String sqlCommand,
                     boolean connectOnStart,
                     boolean reconnectOnEachRow)

StiJDBCSource

public StiJDBCSource(java.lang.String nameInSource,
                     java.lang.String name,
                     java.lang.String alias,
                     java.lang.String sqlCommand,
                     boolean connectOnStart,
                     boolean reconnectOnEachRow,
                     int commandTimeout)
Method Detail

getQuery

public java.lang.String getQuery()
Overrides:
getQuery in class StiSqlSource

getDatabaseClass

public java.lang.Class<? extends StiDatabase> getDatabaseClass()
Overrides:
getDatabaseClass in class StiDataTableSource