Tool Properties |
|
|
DbVisualizer 6.5 October 2008 |
http://www.dbvis.com support@dbvis.com |

Figure: Export User Settings window
All settings can be exported except JDBC driver files.

Figure: Import User Settings window

Figure: The Tool Properties window showing the tree with General categories
| Property | Description |
|---|---|
| Look and Feel | Controls which look and feel to use. Note 1: You must restart DbVisualizer after you have selected a new look and feel. Note 2: Some look and feels are platform specific and do not appear on all OS'es Metal (Ocean) ![]() Windows ![]() Alloy ![]() GTK+ ![]() Mac OS X ![]() |
| Icon Sizes | The Menus, Main Tool Bars, Sub Tool Bars settings are used to control the size of the icons. |
| Show Tab Icons | Specifies whether an icon will appear in the header of all object view tabs. |

Figure: The key binding editor
All user defined key maps are stored in your $HOME/.dbvis/config/keymaps directory. A key map file contain only the differences between the copied key map and the current.Key maps must be uniquely named.

Figure: User defined key map
The action list is organized in folders. The Editor Commands folder lists all actions available in the SQL Commander editor and their current key bindings. The Main Menu folder contain sub folders, each representing a main window menu. The other folders group feature specific actions, such as actions to control the references graph, form editor, etc.
Figure: User defined key map
To add an additional key binding, press Add Key Binding or press Edit Key Binding to edit the selection.
Figure: Key stroke dialog
The key stroke dialog controls whether a key binding is already assigned somewhere else. If there is a conflict with another binding, the Conflicts are shows the names of the actions that are conflicting. The modifier keys Shift, Alt, Ctrl and Command can be used to form the final key binding.
Menu items and tooltips shows the first defined key binding in the list.
| Peroperty | Description |
|---|---|
| Ask When Creating Database Connection | If enabled, you will be asked if you want to use the Connection Wizard to create new connections. |
| Run "Connect All" at Startup | If enabled, the Connect All operation is automatically run when you launch DbVisualizer, connecting all Database Connections marked as being included in the Connect All operation (see the Database properties further down for more on this). |
| Confirm "Disconnect All" | If enabled, a dialog to be displayed before disconnecting all current database connections when using the Disconnect All operation. |
| Permission Type | Description |
|---|---|
| Allow | This permission type means that you can run the SQL statement without any confirmation |
| Deny | This permission type means that the SQL statement is not executed at all. |
| Ask | This permission type means that when executing an SQL statement, or a script of statements, the SQL Commander asks you whether the actual SQL command(s) should be executed. |

Figure: SQL Commander Permissions
| Permission Type | Description |
|---|---|
| Confirm | A confirmation window is displayed, and you can accept the operation or cancel it |
| No Confirm | The SQL operation is performed without any confirmation |

Figure: Inline Editor Permissions
| Property | Description |
|---|---|
| Date Format | Specifies the date format to use throughout the application (i.e., in grids, forms and during editing). More information below. |
| Time Format | Specifies the time format to use throughout the application (i.e., in grids, forms and during editing). More information below. |
| Timestamp Format | Specifies the timestamp format to use throughout the application (i.e., in grids, forms and during editing). More information below. |
| Numbers Format | Specifies how numbers will be formatted. |
| Decimal Number Format | Specifies how decimal numbers will be formatted. |
| Null String | Specifies the string representation of the null value. This string is the readable form of null and appears in grids, forms, exports and during editing. |

Figure:
The date and time right click menu
| Property | Description |
|---|---|
| Show Table Row Count | Specifies if the number of rows in a table will be displayed in the header of the table in the Database Objects->Data tab. Enabling this property will cause an extra round trip to the database (i.e., a minor performance penalty) |
| Highlight Primary Key Columns | Specifies if Primary Key columns will be indicated in the Database Objects->Data tab, Variable Substitution window, SQL Commander result grids and in the References graph. |
| Include Variables in SQL | Specifies if the right-click menu operations in the Data tab will create SQL statements that include DbVisualizer variables or if the generated statements are plain SQL. Letting DbVisualizer generate statements with variables results in the Variable Substitution window being displayed when these statements are executed in the SQL Commander. |
| Max Rows at First Display | Set the number of rows that will be fetched for a table in the Data tab when a table is first displayed. |
| Property | Description |
|---|---|
| Pending Transactions at Disconnect | Specifies what DbVisualizer does on exit from the application, when the auto commit setting is disabled. |
| Property | Description |
|---|---|
| Number of Bookmarks Limit | Specify the maximum number of New and History bookmark entries that will be kept by DbVisualizer. If the number of bookmarks exceeds this limit, the newest entry will overwrite the oldest. |
| Property | Description |
|---|---|
| Start Monitors Automatically | Check to enable start of monitors automatically when database connections are established. |
| Property | Description |
|---|---|
| Right Aligned Numbers | If enabled, numbers are displayed as right-aligned in the Form Editor/Viewer. |
| Image Thumbnail Size | The number of pixels for the widest side of an image (represented by binary data) when shown in the Data Form Viewer. The value is used to scale the image proportionally. The default is 150. |
| Property | Description |
|---|---|
| Auto Resize Column Widths | If Auto Resize is enabled, DbVisualizer automatically sizes each grid column based on the widest cell value. If Consider Column Header is also enabled, the header widths are also considered when calculating the column widths. |
| Show Grid Row Header | If enabled, a row header is shown also for read-only result set grids, such as monitoring result set grids. |
| Max Column Separator Width | This setting is used only when Auto Resize Column Widths is enabled and specifies a maximum visual column width for grids. |
| Meaning of setting Max Chars |
The Max Chars property in the
Database Objects Data tab and in the SQL Commander is
used to control
the max number of characters for text values. If the
number of characters for a text column is more than this setting, the
column is colored in a light red color and the value is truncated as
specified by this property:
|
| Property | Description |
|---|---|
| Column Delimiter | Specifies the delimiter between columns in a multi column copy |
| End of Line Delimiter | Specifies the new line control characters for multi row copy requests |
| Property | Description |
|---|---|
| BLOB | Specifies how BLOB and binary data values are represented in grids. Setting this property to By Value results in performance penalties and the memory consumption increases dramatically. |
| CLOB | Specifies how CLOB data values are represented in grids. Setting this property to By Value results in performance penalties and the memory consumptionincreases dramatically. |
| Property | Description |
|---|---|
| Tabs |
Specifies settings for the tab keyboard
key: Tab Size (the number of characters a tab character corresponds
to), Whitespace(s) per Tab (by how many characters to indent when the
tab key is pressed), and Expand Tab to Whitespace (if enabled, always
insert space characters when the tab key is pressed).
If Expand Tab to Whitespace is disabled, a tab character is inserted when the tab key has been clicked as many times as it takes to indent to the value specified by Tab Size, i.e., if Whitespace(s) per Tab is set to 4 and Tab Size is set to 8, clicking the tab key twice results in a tab character. |
| Recent Files Limit | Specifies the max number of files listed in the File->Load Recent sub menu. |
| Confirm Close of Unsaved Editors | If enabled, DbVisualizer asks you whether to save the text in an SQL editor with modified content (any editor; not only editors loaded from file) when you close the editor. |
| Set "Sticky" for SQL Editor(s) | If enabled, the Sticky flag is automatically set for all new SQL Editors, which means that the database connection details only can be changed manually. |
| Property | Description |
|---|---|
| SQL Statement Delimiter 1 | Defines the character(s) used to delimit one SQL statement from another in a SQL script |
| SQL Statement Delimiter 2 | Defines the additional character(s) used to delimit one SQL statement from another in a SQL script. If there is no need for more then one SQL statement delimiter, set this one to the same as delimiter 1. |
| Allow "go" as Delimiter | Specifies whether go as the first word on a single line should be interpreted as a statement delimiter. |
| Begin Identifier | Defines the character(s) that identifies the start of an anonymous SQL block. |
| End Identifier | Defines the character(s) that identifies the end of an anonymous SQL block |
| Property | Description |
|---|---|
| Sort Tables List | Enable this to always present tables sorted in the auto completion popup |
| Sort Columns List | Enable this to always present column names sorted in the auto completion popup |
| Display Automatically | Enable this and the auto completion popup is automatically displayed whenever possible |
| Instant Substitution | Enable this and the auto completion feature substitutes directly if there is only one matching entry |
| Display Delay | Specifies the time in milliseconds until the auto completion popup is displayed automatically |
| Property | Description |
|---|---|
| Single Line Identifier 1 | Specifies the character(s) that identifies the beginning of a one line comment |
| Single Line Identifier 2 | Specifies the additional character(s) that identifies the beginning of a one line comment |
| Block Comment Begin Identifier | Specifies the character(s) that identifies the start of a multi line comment block |
| Block Comment End Identifier | Specifies the character(s) that identifies the end of a multi line comment block |
| Property | Description |
|---|---|
| Variable Identifier Prefix | The start identifier for a variable. Default is ${. |
| Variable Identifier Suffix | The end identifier for a variable. Default is }$. |
| Variable Delimiter | The delimiter used to identify the parts of a variable. Default is ||. |
| Property | Description |
|---|---|
| Proxy Type | Specifies the type of proxy you use: HTTP or SOCKS |
| Proxy Host | Specifies the name or the IP address for the proxy host |
| Proxy Port | Specifies the proxy port number |
| Proxy User | If the proxy requires authentication, specifies the proxy user account name. Leave blank for a non-authenticating proxy |
| Proxy Password | If the proxy requires authentication, specifies the password for the proxy user account name. Leave blank for a non-authenticating proxy |

Figure: The Tool Properties window showing the tree with Database categories
The following properties are displayed when selecting a database type in the tree.| Property | Description |
|---|---|
| Connection Mode | Specifies the connection mode for the database connection: Development, Test or Production. Permissions are based on connection mode. For the Test and Production modes, DbVisualizer displays a border around areas where database content can be edited, to bring your attention to the fact that you are connected to a database where others may be affected by your changes. |
| Show only default Database or Schema | Enable this if you only want the default database or schema listed in the database objects tree. |
| Connect when "Connect All" | The Connect All feature allows you to connect to multiple database connections with a single click. Enable this property to include database connections of this type when using the Connect All feature. |
| Property | Description |
|---|---|
| Save Password | If enabled, DbVisualizer saves the password for the database connection between invocations. (The password is saved encrypted) |
| Clear Password at Disconnect | If enabled, the password is cleared at disconnect |
| Require Userid | If enabled, you are asked to enter a userid whenever the database connection is established |
| Require Password | If enabled, you are asked to enter a password whenever the database connection is established |
| Property | Description |
|---|---|
| Begin Identifier | Defines the start character for a delimited identifier. Normally, this is a double quote as in "...". |
| End Identifier | Defines the end character for a delimited identifier. Normally, this is a double quote as in "...". |
| Scripting | Enable this to use delimited identifiers in the Scripting features |
| Auto Completion/Query Builder | Enable this to use delimited identifiers in the auto completion and query builder features |
| Property | Description |
|---|---|
| Qualify with Schema/Database: Scripting | Enable this to qualify object names with the schema/database in the Scripting features |
| Qualify with Schema/Database: Auto Completion/Query Builder | Enable this to qualify object names with the schema/database in the auto completion and query builder features. |
| Qualify with Schema/Database: References/Navigator Graphs | Enable this to qualify object names with the schema/database in the graphs shown in the References and Navigator tabs. |
| Qualify Columns: Auto Completion/Query Builder |
Enable this to
qualify column names with the table name in the auto completion and
query builder features. Note: When you specify a table name alias, it is always used as a column name qualifier, regardless of this property setting. |
| Property | Description |
|---|---|
| Auto Commit | Defines if each executed SQL statement will be auto committed or not. This setting applies for all SQL statements that are executed in the SQL Commander. |
| Ask when Auto Commit is Off | If auto commit is off then this setting when enabled will show a confirmation dialog if there are uncommitted changes produced by the last execution in the SQL Commander. |
| Transaction Isolation |
Attempts to change the
transaction isolation level for all database connections. Note: If this property is changed during a transaction, the result is JDBC driver specific. |
| Commit Batch Size | Specifies after how many rows DbVisualizer commits the transaction when saving a batch of changes in the table data editor. |

Figure: All predefined variables
A specific predefined variable can be used in one or more of the SQL templates. Using a variable that is not valid for a specific SQL statement will result in the variable appearing as-is when the statement is executed.| Property | Description |
|---|---|
| SELECT ALL | Command used when selecting all rows for a table |
| SELECT ALL WHERE | Command used when selecting some rows for a table |
| SELECT COUNT | Command used to get the number of rows in a table |
| INSERT INTO | Command used to insert a new row into a table |
| UPDATE WHERE | Command used to update an existing row in a table |
| DELETE WHERE | Command used to delete a specific row in a table |
| DROP TABLE | Command used to drop a specific table |
| CREATE TABLE | Command used to create a new table with an optional primary key |
| CREATE INDEX | Command used to create an index for a specific table |
| Monitor Row Count | Command used to get the number of rows in a table and the current time stamp |
| Monitor Row Count Change | Command used to get the row count difference in a table compared to the previous execution. The calculated row count and the current time stamp is returned |
| Property | Description |
|---|---|
| Run SQL at Connect | Defines the SQL to be executed just after the connection has been established |
| Run SQL at Disconnect | Defines the SQL to be executed just before the connection will be disconnected |
| Property | Description |
|---|---|
| Custom Object Tree Labels | Here you can define custom tree labels for the data nodes in the database objects tree. The Object Type must match the corresponding type in the actual database profile, see more below. |
<ObjectsTreeDef id="derby">
<GroupNode type="Schemas" label="Schemas">
<DataNode type="Schema" label="${derby.getSchemas.Schema}">
<SetVar name="schema" value="${derby.getSchemas.Schema}"/>
<SetVar name="schemaId" value="${derby.getSchemas.Schema Id}"/>
[...]
<GroupNode type="Tables" label="Tables">
<DataNode type="Table" label="${derby.getTables.Table Name}" isLeaf="true">
<SetVar name="objectname" value="${derby.getTables.Table Name}"/>
<SetVar name="rowcount" value="true"/>
<SetVar name="acceptInQB" value="true"/>
[...]
</DataNode>
</GroupNode>
[...]
</DataNode>
[...]
</GroupNode>
[...]
</ObjectsTreeDef>
In this example, there is one <DataNode>
element with a type
attribute set to Schema,
with a nested <DataNode>
element with a type
attribute set to Table.
These two elements represent data nodes, for the schema and table
node, respectively, and the type
attribute value is the Object Type name you need to bind the custom
label to an object type.
Figure: Custom label declaration
| Property | Description |
|---|---|
| Remove New Line Characters | Specifies whether any new line characters should be removed from any SQL statement executed in the SQL Commander, and in the implicit SQL execution functionality in DbVisualizer. Some drivers/databases such as DB2 require that no new line characters are part of any executed SQL. |
| Set Current Schema |
If enabled, changing the schema in the SQL Commander also
changes the default schema for the database connection, so
that unqualified table names in any SQL statement are associated
with the selected schema. If this property is not enabled,
changing the schema only affects the schemas used for auto-completion.
Note: Only a few databases supports setting the default schema for an opened connection. This property is only shown for database types that support it. |
| Property | Description |
|---|---|
| Query Builder Auto-Join Properties | With auto-join enabled, the Query Builder automatically joins tables as they are included in the query, based on the specified column matching rule: FK/PK declarations or columns with matching names in different tables. |
| Generate JOIN clauses in Query Builder |
Specifies whether the Query Builder generates joins as JOIN clauses or WHERE conditions.
JOIN clause: SELECT * FROM HR.EMPLOYEES emp INNER JOIN HR.DEPARTMENTS dept ON (emp.DEPARTMENT_ID = dept.DEPARTMENT_ID)WHERE condition:
SELECT *
FROM HR.EMPLOYEES emp,
HR.DEPARTMENTS dept
WHERE (emp.DEPARTMENT_ID = dept.DEPARTMENT_ID)
|
| Property | Description |
|---|---|
| Color Critical Nodes | If enabled, critical nodes in the explain plan are highlighted. |
| Critical Threshold | Specifies the threshold for when a node should be handled as critical |
| Warning Threshold | Specifies the threshold for when a node should be handled as a warning |
| Property | Description |
|---|---|
| Show Empty Schemas |
If disabled, only schemas that contain database objects are
shown in the tree. Note: Only disable this if you have DBA permissions, otherwise no schemas as listed, |
| System View Prefix |
Select here whether the database profile for Oracle should
retrieve database information from the DBA or ALL system tables.
Note: If choosing DBA, make sure the appropriate privileges are granted for the user you are connecting as. |