diff --git a/pom.xml b/pom.xml index 5b5d240..6b2caa2 100644 --- a/pom.xml +++ b/pom.xml @@ -70,6 +70,12 @@ hibernate-core 6.2.7.Final + + + jakarta.xml.bind + jakarta.xml.bind-api + 4.0.1 + diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 6499485..c5d5565 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -1,12 +1,12 @@ spring.datasource.driver-class-name=com.microsoft.sqlserver.jdbc.SQLServerDriver server.port=8080 -spring.datasource.url=jdbc:sqlserver://152.136.182.168:1433;\ +spring.datasource.url=jdbc:sqlserver://intpointer.com:1433;\ databaseName=Elm;\ encrypt=true;\ trustServerCertificate=true;\ loginTimeout=30; -spring.datasource.username=guest -spring.datasource.password= +spring.datasource.username=myh +spring.datasource.password=20231103#MS_Sql spring.jpa.hibernate.ddl-auto=none spring.jpa.show-sql=true spring.jpa.properties.hibernate.format_sql=true diff --git a/src/main/resources/hibernate.cfg.xml b/src/main/resources/hibernate.cfg.xml index 87a193b..c7641ce 100644 --- a/src/main/resources/hibernate.cfg.xml +++ b/src/main/resources/hibernate.cfg.xml @@ -6,7 +6,7 @@ com.microsoft.sqlserver.jdbc.SQLServerDriver - jdbc:sqlserver://152.136.182.168:1433;\ + jdbc:sqlserver://intpointer.com:1433;\ databaseName=Elm;\ encrypt=true;\ trustServerCertificate=true;\