This commit is contained in:
sada 2015-10-08 11:25:05 +09:00
parent d3338bd746
commit da9b9fb4fa
2 changed files with 2 additions and 2 deletions

View file

@ -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$$

View file

@ -39,4 +39,4 @@ jpa.showSql=true
# Property that determines which database to use with an AbstractJpaVendorAdapter
#jpa.database=MYSQL
# END
#jpa.showSql=true