配置文件更新
This commit is contained in:
parent
1ffca36f10
commit
0bf8068778
6
pom.xml
6
pom.xml
@ -70,6 +70,12 @@
|
|||||||
<artifactId>hibernate-core</artifactId>
|
<artifactId>hibernate-core</artifactId>
|
||||||
<version>6.2.7.Final</version>
|
<version>6.2.7.Final</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
<!-- https://mvnrepository.com/artifact/jakarta.xml.bind/jakarta.xml.bind-api -->
|
||||||
|
<dependency>
|
||||||
|
<groupId>jakarta.xml.bind</groupId>
|
||||||
|
<artifactId>jakarta.xml.bind-api</artifactId>
|
||||||
|
<version>4.0.1</version>
|
||||||
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
spring.datasource.driver-class-name=com.microsoft.sqlserver.jdbc.SQLServerDriver
|
spring.datasource.driver-class-name=com.microsoft.sqlserver.jdbc.SQLServerDriver
|
||||||
server.port=8080
|
server.port=8080
|
||||||
spring.datasource.url=jdbc:sqlserver://152.136.182.168:1433;\
|
spring.datasource.url=jdbc:sqlserver://intpointer.com:1433;\
|
||||||
databaseName=Elm;\
|
databaseName=Elm;\
|
||||||
encrypt=true;\
|
encrypt=true;\
|
||||||
trustServerCertificate=true;\
|
trustServerCertificate=true;\
|
||||||
loginTimeout=30;
|
loginTimeout=30;
|
||||||
spring.datasource.username=guest
|
spring.datasource.username=myh
|
||||||
spring.datasource.password=
|
spring.datasource.password=20231103#MS_Sql
|
||||||
spring.jpa.hibernate.ddl-auto=none
|
spring.jpa.hibernate.ddl-auto=none
|
||||||
spring.jpa.show-sql=true
|
spring.jpa.show-sql=true
|
||||||
spring.jpa.properties.hibernate.format_sql=true
|
spring.jpa.properties.hibernate.format_sql=true
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
<session-factory>
|
<session-factory>
|
||||||
<!-- 连接数据库的基本参数 -->
|
<!-- 连接数据库的基本参数 -->
|
||||||
<property name="hibernate.connection.driver_class">com.microsoft.sqlserver.jdbc.SQLServerDriver</property>
|
<property name="hibernate.connection.driver_class">com.microsoft.sqlserver.jdbc.SQLServerDriver</property>
|
||||||
<property name="hibernate.connection.url">jdbc:sqlserver://152.136.182.168:1433;\
|
<property name="hibernate.connection.url">jdbc:sqlserver://intpointer.com:1433;\
|
||||||
databaseName=Elm;\
|
databaseName=Elm;\
|
||||||
encrypt=true;\
|
encrypt=true;\
|
||||||
trustServerCertificate=true;\
|
trustServerCertificate=true;\
|
||||||
|
Loading…
Reference in New Issue
Block a user