Connections
A connection holds everything WriteBackExtreme needs to reach one database: the driver, the host, the credentials and the groups allowed to use it. You create a connection once, and every schema that writes back to that database uses it. Usernames and passwords are encrypted before they are stored, and they are never sent back to the browser.
You need the connection manager role or an administrator account to open Connections.
Databricks, Snowflake, Teradata, SAP HANA and IBM DB2 talk to WriteBackExtreme over ODBC. On an on-premise installation, install the ODBC driver and, if you want to connect by DSN, create the DSN in your ODBC manager first: How to setup ODBC.
The connections overview
Connections lists every connection with its Driver, Label, # Schemas, # Groups, Database and Host. The menu at the end of each row gives you:
Edit… — reopens the connection so you can change its settings. The system database that WriteBackExtreme stores its own configuration in has no Edit… entry; it can only be changed from the command line of the machine it runs on.
Group Membership — a short dialog to add or remove the groups that may use this connection, without opening the whole form.
Remove — deletes the connection and everything in it. WriteBackExtreme first checks whether any schema still uses the connection, and if one does you get Unable to delete connection instead, asking you to remove those schemas first.

Create a new connection
Creating a connection is a three-step wizard: Select a driver., Configure connection. and Test connection. You cannot finish without a connection test that succeeds.
Select a driver
Click New and pick the type of database you want to connect to. WriteBackExtreme 6.3 ships twelve drivers you can create a connection with:
Microsoft SQL Server
SQL Server 2016 or later.
MySQL
MySQL 5.7, 8.0 or higher.
PostgreSQL
The latest PostgreSQL versions.
Amazon Redshift
Oracle Database
Azure Synapse
Text fields are limited to 4000 characters.
Google Big Query
Snowflake
Over ODBC. Editing a schema is partially supported, because of limits in the database itself.
Databricks
Over ODBC.
Teradata
Over ODBC.
Sap Hana
DB2
IBM DB2, over ODBC.

Configure the connection
Every driver asks for a Connection name of at least two characters, and offers an optional Color (optional) and Description (optional) to make the connection easy to recognise in long lists.
Authorized Groups decides who may use the connection. Only users inside these groups see the connection and the schemas built on it, and the field starts out filled with the groups you are in yourself.
Default Casting controls how WriteBackExtreme writes table and column names: Case sensitive (not recommended), Lowercase (WBE default) or Uppercase. Choose carefully — this one can only be set while you are creating the connection and is read-only afterwards.

The remaining fields depend on the driver you picked. The full list, per driver, is on a page of its own:
Test the connection
The last step shows the whole configuration again, read-only, with a Test connection button. Click it and WriteBackExtreme opens a real connection to the database:
Connection success! — Create connection becomes available.
Connection test failed. — expand Show full error message to see what the database said. Host names and IP addresses are stripped out of that message on purpose.
Too many connection tests. — you are testing faster than five times a minute. Wait a minute and try again.
Create connection stays disabled until a test succeeds, so a connection you cannot reach never reaches your schema list.
Change an existing connection
Open a connection and click Edit to make its fields editable, then Save. Editing is not gated on a test, so test the connection yourself after you change a host or a password — nothing stops you from saving a connection that no longer works.
Groups and schema permissions
WriteBackExtreme uses groups to decide who may reach which data:
Users are members of groups.
A connection is assigned to one or more groups through Authorized Groups.
Users reach a connection, and the schemas on it, through their group membership.
Because the schemas under a connection carry their own per-group permissions, changing a connection's groups changes those schemas too.
Adding a group: Copy permissions
When you add a group to a connection that already has schemas, WriteBackExtreme opens Copy permissions. The new group has no permissions on those schemas yet, so the dialog asks which existing group to copy them from. Pick that group in Select group and click OK.
Removing a group
Removing a group from a connection also removes that group's permissions on every schema of that connection. There is no confirmation and no undo: if you add the group back, you are asked to copy permissions again, as if it were new.
Groups can be changed from the connection form, or straight from the overview through Group Membership in the row menu.
Quirks with SQL Server
Connecting with a service account
The SQL Server form has a Login with service account checkbox, which hides the username and password fields: the connection then runs as the account the WriteBackExtreme application itself runs under, and the credentials are passed through by the driver. This is how you use Windows Authentication for a SQL Server connection.
A schema other than dbo
Most SQL Server databases use the dbo schema. To write to a different one, set the default schema on the database user:
Advanced configuration
Advanced configuration holds two TLS settings: Disable ssl certficate validation for the SQL database and SQL Server database uses SSL encryption. New connections start with encryption on and the server certificate trusted, which is what most SQL Server installations need.
ODBC setup
Snowflake, Databricks, Teradata, SAP HANA and DB2 need an ODBC driver on the machine running WriteBackExtreme, and optionally a DSN. Our ODBC examples walk through that configuration.
Last updated
Was this helpful?
