From da9b9fb4fa8b0e9c929cee6ab6c3f949c97c2c47 Mon Sep 17 00:00:00 2001 From: sada Date: Thu, 8 Oct 2015 11:25:05 +0900 Subject: [PATCH] bug fix --- Scripts/spring_petclinic_jdbc_conf.sh | 2 +- src/main/resources/spring/data-access.properties | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Scripts/spring_petclinic_jdbc_conf.sh b/Scripts/spring_petclinic_jdbc_conf.sh index e7b1ddbcf..8c222ac3b 100644 --- a/Scripts/spring_petclinic_jdbc_conf.sh +++ b/Scripts/spring_petclinic_jdbc_conf.sh @@ -11,7 +11,7 @@ unzip /tmp/petclinic.war -d $TMPDIR/petclinic sed -e "/# HSQL/,/# MySQL/ s/^/#/g" \ -e "/# MySQL/,$ s/^#\([jh]\)/\1/g" \ -e "s/\${HOSTNAME}/$1/g" \ - -e "s/\${SERNAME}/$2/g" \ + -e "s/\${USERNAME}/$2/g" \ -e "s/\${PASSWORD}/$3/g" $PROPFILE > /tmp/jdbc.tmp$$ diff --git a/src/main/resources/spring/data-access.properties b/src/main/resources/spring/data-access.properties index 4b1c16d53..21042e15a 100644 --- a/src/main/resources/spring/data-access.properties +++ b/src/main/resources/spring/data-access.properties @@ -39,4 +39,4 @@ jpa.showSql=true # Property that determines which database to use with an AbstractJpaVendorAdapter #jpa.database=MYSQL -# END \ No newline at end of file +#jpa.showSql=true