Use Service Name instead of SID

This resolves an issue with using the gvenzl oracle docker images
This commit is contained in:
Tekaoh
2025-06-18 17:38:29 -04:00
committed by GitHub
parent 57a7cefe90
commit bd1439cfc2

View File

@@ -457,7 +457,7 @@
<target name="add_new_cluster" description="Adds the cluster name to the database" if="firstrun">
<sql classpath="${env.ORACLE_HOME}/lib/ojdbc8.jar"
driver="oracle.jdbc.OracleDriver"
url="jdbc:oracle:thin:@${dbip}:1521:${db_service}"
url="jdbc:oracle:thin:@//${dbip}:1521/${db_service}"
userid="${db_username}"
password="${db_password}">
insert into cluster_list (id, name, num_characters, address, secret, locked, not_recommended)
@@ -469,7 +469,7 @@
<target name="configure_limits" description="Defines the limits of the cluster and accounts in the database">
<sql classpath="${env.ORACLE_HOME}/lib/ojdbc8.jar"
driver="oracle.jdbc.OracleDriver"
url="jdbc:oracle:thin:@${dbip}:1521:${db_service}"
url="jdbc:oracle:thin:@//${dbip}:1521/${db_service}"
userid="${db_username}"
password="${db_password}">
update default_char_limits set account_limit = ${max_characters_per_account}, cluster_limit = ${max_characters_per_cluster};