Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
T
topsun-bpm
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
鲁鑫
topsun-bpm
Commits
6002e209
Commit
6002e209
authored
Nov 29, 2023
by
覃振观
👶
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
EntityManager 配置
parent
c50a77d6
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
persistence.xml
huigou-xt/src/main/resources/META-INF/persistence.xml
+13
-0
No files found.
huigou-xt/src/main/resources/META-INF/persistence.xml
View file @
6002e209
...
...
@@ -4,4 +4,17 @@
xsi:schemaLocation=
"http://java.sun.com/xml/ns/persistence
http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd"
>
<persistence-unit
name=
"mysql-jpa"
>
<properties>
<property
name=
"hibernate.connection.driver_class"
value=
"com.mysql.jdbc.Driver"
/>
<property
name=
"hibernate.connection.url"
value=
"jdbc:mysql://192.168.222.122:3406/topsun?serverTimezone=GMT%2B8&useUnicode=true&characterEncoding=utf-8&useSSL=false"
/>
<property
name=
"hibernate.connection.username"
value=
"root"
/>
<property
name=
"hibernate.connection.password"
value=
"123456"
/>
<!--控制台打印sql语句-->
<property
name=
"hibernate.show_sql"
value=
"true"
/>
<!-- 格式化输出SQL -->
<property
name=
"hibernate.format_sql"
value=
"true"
/>
</properties>
</persistence-unit>
</persistence>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment