Deprecated and moved functionality in the DataExpress library

Deprecated functionality will compile and run, despite warnings about the deprecation. Properties, methods, and variables which have been moved or renamed will generate compile errors which must be resolved before you can run your application or applet.

The following tables outline functionality that was moved or deprecated in the DataExpress library. Wherever possible, alternate ways of attaining the same behavior are indicated.


dx.dataset package

The following have been moved or deprecated in the dx.dataset package:

Deprecated and moved functionality in dx.dataset

Formerly: Use:
Column localeName property locale property
DataSet markPending(DataSet,boolean) ProviderHelp.markPending(DataSet,boolean)
DataSet resolvePending(boolean) No longer needed
DataSet row() DataSet.getRow()
DataSet rowCount() DataSet.getRowCount()
DataSetException all methods starting with throw Renamed without "throw" prefix
ParameterRow IN, OUT, IN_OUT, RETURN, RESULT Corresponding variables in ParameterType class
ParameterRow getParameterType(string column) Column.getParameterType()
ReadRow getBinaryStream(int) and getBinaryStream(String) getInputStream(int) and getInputStream(String)
ReadRow columnCount() ReadRow.getColumnCount()
ReadWriteRow All "binary*" methods "InputStream" equivalents in the ReadWriteRow class
RowStatus DELETE_RESOLVED, INSERT_RESOLVED, UPDATE_RESOLVED Constants no longer needed.
StorageDataSet checkMasterDetail(MasterLinkDescriptor) Provider.checkMasterLink(MasterLinkDescriptor)
StorageDataSet endResolution(StorageDataSet) ProviderHelp.endResolution(StorageDataSet)
StorageDataSet failIfOpen(StorageDataSet) ProviderHelp.failIfOpen(StorageDataSet)
StorageDataSet freeAllIndexes() StorageDataSet.dropAllIndexes()
StorageDataSet isCopyProviderStreams(StorageDataSet) ProviderHelp.isCopyProviderStreams(StorageDataSet)
StorageDataSet isProviderPropertyChanged(StorageDataSet) ProviderHelp.isProviderPropertyChanged(StorageDataSet)
StorageDataSet setMetaDataMissing(StorageDataSet,boolean) ProviderHelp.setMetaDataMissing(StorageDataSet,boolean)
StorageDataSet setProviderPropertyChanged(StorageDataSet,boolean) ProviderHelp.setProviderPropertyChanged(StorageDataSet,boolean)
StorageDataSet startResolution(StorageDataSet,boolean) ProviderHelp.startResolution(StorageDataSet,boolean)
StorageDataSet updatable property Set the StorageDataSet component's metaDataUpdate property, exclude the rowId, then set the rowID on the columns that apply
TextDataFile localeName property locale property


dx.sql.dataset package

The following have been moved or deprecated in the dx.sql.dataset package:

Deprecated and moved functionality in dx.sql.dataset

Formerly: Use:
Database database(java.sql.Connection) Database() then set the jdbcConnection property
Database JdbcConnection() Database.getJdbcConnection()
Database start() Database.autoCommit
ProcedureDataSet asynchronousExecution property The asynchronous execution property was expanded; see Load
ProcedureDescriptor ProcedureDescriptor(Database, String, ReadWriteRow, boolean, boolean) The asynchronous execution property was expanded; this constructor is no longer available. Use the ProcedureDescriptor(Database, String, ReadWriteRow, boolean, int) constructor.
QueryDataSet asynchronousExecution property The asynchronous execution property was expanded; see Load
QueryDataSet checkMasterDetail(MasterLinkDescriptor) Provider.checkMasterLink(MasterLinkDescriptor)
QueryDescriptor QueryDescriptor(Database, String, ReadWriteRow, boolean, boolean) The asynchronous execution property was expanded; this constructor is no longer available. Use the QueryDescriptor(com.borland.dx.sql.dataset.Database, java.lang.String, com.borland.dx.dataset.ReadWriteRow, boolean, int) constructor.
StorageDataSet checkMasterDetail(MasterLinkDescriptor) Provider.checkMasterLink(MasterLinkDescriptor)