New UltraLite C/C++ API added A new version of the UltraLite C/C++ API has been added to this release. This API is declared in the ulcpp.h header file. See UltraLite C/C++ API reference.
The following objects have been renamed for this version of the UltraLite C/C++ API:
The following methods have been removed from the C++ API: GetDatabaseID, SetDatabaseID, IsCaseSensitive, and GetCollationName. The functionality is now handled by GetDatabaseProperty and SetDatabaseOption. See GetDatabaseProperty method and SetDatabaseOption method.
The GetDatabasePropertyInt method has been added. See GetDatabasePropertyInt method.
New ULConnection.ValidateDatabase(ULDBValid) method added This method has been added as an equivalent to calling ULConnection.ValidateDatabase(ULDBValid, String) while passing null for the tableName. See ValidateDatabase(ULDBValid) method.
API features The following objects have been added to this release:
The setPublications method in the SyncParms class. This method sets the publication to be synchronized. See setPublications method.
The getPublications method in the SyncParms class. This method returns the publication to be synchronized. See getPublications method.
The timestampWithTimeZoneFormat member in the CreationParms class. This member sets the format for the timestamp with the time zone retrieved from the database. See timestampWithTimeZoneFormat variable.
The setTimestampWithTimeZoneParameter method in the PreparedStatement class and the setTimestampWithTimeZone method in the ULTable class. These methods set the value for the specified SQLType.TIMESTAMP_WITH_TIME_ZONE type parameter using a Date object. See setTimestampWithTimeZoneParameter method and setTimestampWithTimeZone method.
The getTimestampWithTimeZone methods in the ResultSet and ULTable classes. These methods return the value for the specified column as a Date object. See getTimestampWithTimeZone method (ResultSet class) and getTimestampWithTimeZone method. (ULTable class).
Discuter à propos de cette page dans DocCommentXchange.
|Copyright © 2010, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.0|