diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2013-01-27 13:51:04 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2013-01-27 13:51:04 +1300 |
commit | 268ac2ad8dab34676631c7af23f9af3a7b3bc89b (patch) | |
tree | 66ba26bd770479956bc0e2a1fad47c9e85538c30 /src | |
parent | de9487c9c3e1b088bb2774751f8b0d0e3a5c7fce (diff) | |
download | trackermap-web-268ac2ad8dab34676631c7af23f9af3a7b3bc89b.tar.gz trackermap-web-268ac2ad8dab34676631c7af23f9af3a7b3bc89b.tar.bz2 trackermap-web-268ac2ad8dab34676631c7af23f9af3a7b3bc89b.zip |
Change test database to H2
Diffstat (limited to 'src')
-rw-r--r-- | src/META-INF/persistence.xml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/META-INF/persistence.xml b/src/META-INF/persistence.xml index 28f38355..0dc8efbb 100644 --- a/src/META-INF/persistence.xml +++ b/src/META-INF/persistence.xml @@ -11,10 +11,10 @@ </persistence-unit> <persistence-unit name="debug"> <properties> - <property name="hibernate.connection.driver_class" value="com.mysql.jdbc.Driver"/> - <property name="hibernate.connection.url" value="jdbc:mysql://localhost/test"/> - <property name="hibernate.connection.username" value="root"/> - <property name="hibernate.connection.password" value="root"/> + <property name="hibernate.connection.driver_class" value="org.h2.Driver"/> + <property name="hibernate.connection.url" value="jdbc:h2:/home/user/Documents/traccar-web/database"/> + <property name="hibernate.connection.username" value="sa"/> + <property name="hibernate.connection.password" value=""/> <property name="hibernate.show_sql" value="true"/> <property name="hibernate.hbm2ddl.auto" value="update"/> </properties> |