Upload and download statistics of synchronization streams are reported separately The ul_sync_stats structure has been split into two separate structures to improve statistic reports: ul_sync_stats_download and ul_sync_stats_upload.
See:
Wide character (UTF-16/UCS-2) data streaming support for iOS Wide character support for iOS has been added to character data streaming methods.
See:
Applications can monitor download progress Two new fields, current_download_row_count and total_download_row_count, have been added to the ul_sync_status structure to allow applications to monitor the progress of a download.
See:
Reporting of row statistics during synchronization has improved Additional details, which involve the number and types of operations that have been sent and received during a synchronization, are reported.
Once the synchronization enters the SyncObserver.State.RECEIVING_TABLE state for the first table, the SyncResult.getTotalDownloadRowCount method returns the total number of rows expected in the download.
The getSentRowCount method has been replaced with the getSentDeletes, getSentInserts and getSentUpdates methods.
The getReceivedRowCount method has been augmented with the getReceivedDeletes, getReceivedIgnoredDeletes, getReceivedIgnoredUpdates, getReceivedInserts, getReceivedTruncateDeletes, and getReceivedUpdates methods. These new methods indicate how the download has been applied to the local UltraLite Java edition database. The getReceivedRowCount method gives the current row count during the download.
The getReceivedRowCount method now returns long values.
See:
New methods can be used to manage the input parameters of a prepared statement on Android smartphones The PreparedStatement.getParameterCount and PreparedStatement.getParameterType methods have been added to count the number of parameters in a prepared statement and to get the domain type of a parameter, respectively.
See:
New methods can be used to manage error parameters on Android smartphones The getParameterCount and getParameter methods have been added to count the number of error parameters and to return a specific error parameter, respectively.
See:
A new method can be used to count the number of rows required for upload on Android smartphones The DatabaseInfo.getNumberRowsToUpload( String, int ) method has been added to provide the same functionality as the ULConnection::CountUploadRows( const char * pubList, ul_u_long threshold ) method for UltraLite C/C++. See DatabaseInfo.getNumberRowsToUpload method [UltraLiteJ].
The UltraLite database connection state can be reported on Android smartphones The Connection.getState method is now supported on Android smartphones. See Connection.getState method [UltraLiteJ].
Warning messages can be retrieved on Android smartphones Use the Connection.getLastWarning method to retrieve a SQLInfo object, which can obtain the SQL code and message of any warning that occurs during the execution of the last SQL statement.
See:
Database validation is supported on Android smartphones Use the Connection.validateDatabase method to validate an UltraLite database on an Android smartphone. The new ValidateDatabaseProgressData and ValidateDatabaseProgressListener interfaces allow Android applications to track the progress of the validation operation.
See:
Encryption keys can be changed on Android smartphones Use the Connection.changeEncryptionKey method to change the encryption key of an UltraLite database on an Android smartphone.
See:
Restartable downloads are supported on Android smartphones UltraLite on Android smartphones now has the ability to resume partial downloads that fail due to communication errors or when you abort through the SyncObserver object.
See:
UltraLite events are supported on Android smartphones UltraLite on Android smartphones now supports events for table modifications, commits, and synchronization completion. The ULjEvent interface has been added to support this feature.
An Android application registers and waits for events on a Connection object. A Connection can receive notifications of events that are triggered from Connections on other threads.
See:
Lazy load indexing options have improved on BlackBerry smartphones In previous versions, turning off lazy load indexes would have no effect when the row score flush size is greater than zero. Lazy loading would be turned off only when lazy load indexes are turned off and the row score flush size is less than or equal to zero.
Using the setRowScoreFlushSize method to set the row score flush to a value greater than zero now marks lazy loading as turned on. Setting the setLazyLoadIndexes method to false now sets the row score flush size to zero.
See:
![]() |
Discuss this page in DocCommentXchange.
|
Copyright © 2014, SAP AG or an SAP affiliate company. - SAP Sybase SQL Anywhere 16.0 |