This repository has been archived by the owner on Jan 18, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
change from mysql to hsqldb when using an external database
- Loading branch information
Mark Pollack
committed
Oct 8, 2010
1 parent
6bb568b
commit ad5b536
Showing
2 changed files
with
8 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 4 additions & 6 deletions
10
myrestaurants-original/src/main/resources/META-INF/spring/database.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,4 @@ | ||
#Updated at Wed Sep 22 16:52:26 EDT 2010 | ||
#Wed Sep 22 16:52:26 EDT 2010 | ||
database.password=spring | ||
database.url=jdbc\:mysql\://localhost\:3306/test | ||
database.username=spring | ||
database.driverClassName=com.mysql.jdbc.Driver | ||
database.driverClassName=org.hsqldb.jdbcDriver | ||
database.url=jdbc:hsqldb:hsql://localhost:9001 | ||
database.username=sa | ||
database.password= |