diff options
author | Alexander Alexeev | 2016-11-25 04:21:41 +0700 |
---|---|---|
committer | Alexander Alexeev | 2016-11-25 04:21:41 +0700 |
commit | aa32fb245167334d9aef157714817bfb89ca64fb (patch) | |
tree | 06ca4599550ec1b91099e3d3cb71b98986938764 /juick-server/src/test | |
parent | 6fc6cd055ba18c8692928cb09a339120d8d6a253 (diff) |
log4jdbc is applied for test database
Diffstat (limited to 'juick-server/src/test')
-rw-r--r-- | juick-server/src/test/java/com/juick/configuration/RepositoryConfiguration.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/juick-server/src/test/java/com/juick/configuration/RepositoryConfiguration.java b/juick-server/src/test/java/com/juick/configuration/RepositoryConfiguration.java index 14f91df8..4a74349f 100644 --- a/juick-server/src/test/java/com/juick/configuration/RepositoryConfiguration.java +++ b/juick-server/src/test/java/com/juick/configuration/RepositoryConfiguration.java @@ -33,8 +33,8 @@ public class RepositoryConfiguration { @Bean public DriverManagerDataSource dataSource() { DriverManagerDataSource dataSource = new DriverManagerDataSource(); - dataSource.setDriverClassName("com.mysql.jdbc.Driver"); - dataSource.setUrl("jdbc:mysql://localhost:33306/juick?autoReconnect=true&user=root"); + dataSource.setDriverClassName("net.sf.log4jdbc.DriverSpy"); + dataSource.setUrl("jdbc:log4jdbc:mysql://localhost:33306/juick?autoReconnect=true&user=root"); return dataSource; } |