Building the Connection URL
Use the connection URL to supply connection information to the data store that you are accessing. The following is the format of the connection URL for the Simba Square JDBC Connector:
jdbc:square://localhost;Host=[Endpoint];Auth_Type=[AuthenticationMethod];[Property1]=[Value];[Property2]=[Value];...
The variables are defined as follows:
- [Endpoint] is the endpoint of the Square server.
- [AuthenticationMethod] is the authentication method used to connect to the Square server.
- [Property] and [Value] are any one of the other connection properties supported by the connector and the value for that property. At minimum, you must set the properties that provide your credentials for authentication.
For information about configuring authentication, see Configuring Authentication. For a list of the properties available in the connector, see
For example, to connect to Square and authenticate the connection using an access token, you would use the following connection URL:
jdbc:square://localhost;Host=simbastore.mysquare.com;Auth_Type=Access Token;Auth_AccessToken=kP9PcyQ7prK2LwUMZMpFQ4R+5VE;
Important:
Do not duplicate properties in the connection URL.