Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SpringTest
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Jira
Jira
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
測試專案
SpringTest
Commits
cd5e8822
Commit
cd5e8822
authored
Oct 04, 2018
by
楊慶堂
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
加上 jdbc log
parent
338e8e39
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
4 deletions
+11
-4
pom.xml
pom.xml
+5
-0
src/main/resources/application.yml
src/main/resources/application.yml
+6
-4
No files found.
pom.xml
View file @
cd5e8822
...
...
@@ -54,6 +54,11 @@
<groupId>
com.microsoft.sqlserver
</groupId>
<artifactId>
mssql-jdbc
</artifactId>
</dependency>
<dependency>
<groupId>
com.googlecode.usc
</groupId>
<artifactId>
jdbcdslog
</artifactId>
<version>
1.0.6.2
</version>
</dependency>
<!-- https://mvnrepository.com/artifact/org.aspectj/aspectjrt -->
<dependency>
<groupId>
org.aspectj
</groupId>
...
...
src/main/resources/application.yml
View file @
cd5e8822
...
...
@@ -5,8 +5,10 @@ spring:
livereload
:
enabled
:
true
datasource
:
url
:
jdbc:sqlserver://10.32.86.125:443;databaseName=TestDB;sendStringParametersAsUnicode=false;
driver-class-name
:
com.microsoft.sqlserver.jdbc.SQLServerDriver
url
:
jdbc:jdbcdslog:sqlserver://10.32.86.125:443;databaseName=H4UDBv4_ARCH_UAT;sendStringParametersAsUnicode=false;targetDriver=com.microsoft.sqlserver.jdbc.SQLServerDriver
driver-class-name
:
org.jdbcdslog.DriverLoggingProxy
#url: jdbc:sqlserver://10.32.86.125:443;databaseName=TestDB;sendStringParametersAsUnicode=false;
#driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver
username
:
archuser
password
:
archuser
jmx-enabled
:
true
...
...
@@ -17,14 +19,14 @@ spring:
implicit-strategy
:
org.hibernate.boot.model.naming.ImplicitNamingStrategyLegacyJpaImpl
properties
:
hibernate
:
show_sql
:
tru
e
show_sql
:
fals
e
format_sql
:
false
dialect
:
org.ylhealth.ym.springtest.hibernate.SqlServerDialectWithNvarchar
globally_quoted_identifiers
:
true
cache.use_second_level_cache
:
true
cache.use_query_cache
:
true
cache.region.factory_class
:
org.hibernate.cache.ehcache.SingletonEhCacheRegionFactory
generate_statistics
:
tru
e
generate_statistics
:
fals
e
temp
:
use_jdbc_metadata_defaults
:
false
...
...
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