Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 10.0.1 » UltraLite - M-Business Anywhere Programming » UltraLite for M-Business Anywhere API Reference

 toString method Next Page

Connection class

Represents a connection to an UltraLite database.

Connections are instantiated using one of the following methods:

You must open a connection before carrying out any other operation, and you must close the connection after you have finished all operations on the connection and before your application terminates.

You must close all tables opened on a connection before closing the connection.

When a JavaScript Error is thrown because of a failed UltraLite database operation, the SQL error code is set on the sqlCode field of the Connection object.

changeEncryptionKey method
close method
commit method
countUploadRow method
getDatabaseID method
getGlobalAutoIncrementUsage method
getLastDownloadTime method
getLastIdentity method
getNewUUID method
getTable method
grantConnectTo method
isOpen method
prepareStatement method
resetLastDownloadTime method
revokeConnectFrom method
rollback method
rollbackPartialDownload method
saveSyncParms method
setDatabaseID method
startSynchronizationDelete method
stopSynchronizationDelete method
synchronize method
synchronizeWithParm method