jdbc oracle connection string code example
Example 1: creating jdbc connection in java using service name oracle
jdbc:oracle:thin:@(description=(address=(host=HOSTNAME)(protocol=tcp)(port=PORT))(connect_data=(service_name=SERVICENAME)(server=SHARED)))
Example 2: jdbc sql connection string
db_url = jdbc:microsoft:sqlserver://HOST:1433;DatabaseName=DATABASE
db_driver = com.microsoft.jdbc.sqlserver.SQLServerDriver
db_username = USERNAME
db_password = PASSWORD