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

SAP Sybase SQL Anywhere 16.0 (中文) » SQL Anywhere 服务器 - 编程 » 数据库和应用程序部署 » 管理工具部署

 

管理工具配置

可使用名为 OEM.ini 的初始化文件来指定管理工具显示或启用的功能。此文件必须与管理工具使用的 JAR 文件位于同一目录中(例如,C:\Program Files\SQL Anywhere 16\Java)。如果未找到此文件,则使用缺省值。此外,缺省值将用作 OEM.ini 中缺少的值。

注意

重新部署管理工具时,这些工具无法检查 SQL Anywhere 软件的更新。[检查更新] 菜单项和选项不会出现在重新部署后的版本中。

以下是示例 OEM.ini 文件:



[errors]
# reportErrors type is boolean, default = true
reportErrors=true

[updates]
# checkForUpdates type is boolean, default = true
checkForUpdates=true

[preferences]
directory=preferences_files_directory

[dbisql]
allowPasswordsInFavorites=true
defaultShowResultsForAllStatements=false 
defaultShowMultipleResultSets=false
disableExecuteAll=false
fastLauncherEnabled=true
# lockedPreferences is assigned a comma-separated 
# list of one or more of the following option names:
#    autoCommit
#    autoRefetch
#    commitOnExit
#    disableResultsEditing
#    executeToolbarButtonSemantics
#    fastLauncherEnabled
#    maximumDisplayedRows
#    showMultipleResultSets
#    showResultsForAllStatements
lockedPreferences=showMultipleResultSets,commitOnExit

所有以 # 字符开始的行都是注释行,将被忽略。指定的选项名称和值区分大小写。

OEM.ini 文件分为以下部分:

 [errors]
 [updates]
 [preferences]
 [performancedata]
 [dbisql]