diff --git a/examples/quickstart/pom.xml b/examples/quickstart/pom.xml index 73d4a131e..ddd64abe2 100644 --- a/examples/quickstart/pom.xml +++ b/examples/quickstart/pom.xml @@ -37,14 +37,16 @@ 1.6 + + --> + + mysql + mysql-connector-java + 5.1.22 + diff --git a/examples/quickstart/src/main/resources/application.properties b/examples/quickstart/src/main/resources/application.properties index fad6d7b23..48cb429f8 100644 --- a/examples/quickstart/src/main/resources/application.properties +++ b/examples/quickstart/src/main/resources/application.properties @@ -1,8 +1,8 @@ #h2 database settings -jdbc.driver=org.h2.Driver -jdbc.url=jdbc:h2:file:~/.h2/quickstart;AUTO_SERVER=TRUE;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE -jdbc.username=sa -jdbc.password= +#jdbc.driver=org.h2.Driver +#jdbc.url=jdbc:h2:file:~/.h2/quickstart;AUTO_SERVER=TRUE;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE +#jdbc.username=sa +#jdbc.password= #log4jdbc driver #jdbc.driver=net.sf.log4jdbc.DriverSpy @@ -15,10 +15,10 @@ jdbc.password= #jdbc.password=quickstart #mysql database setting -#jdbc.driver=com.mysql.jdbc.Driver -#jdbc.url=jdbc:mysql://localhost/quickstart?useUnicode=true&characterEncoding=utf-8 -#jdbc.username=root -#jdbc.password= +jdbc.driver=com.mysql.jdbc.Driver +jdbc.url=jdbc:mysql://localhost:3306/test?useUnicode=true&characterEncoding=utf-8 +jdbc.username=root +jdbc.password=123 #connection pool settings jdbc.pool.maxIdle=10 diff --git a/examples/quickstart/src/main/webapp/WEB-INF/tags/pagination.tag b/examples/quickstart/src/main/webapp/WEB-INF/tags/pagination.tag index 4e3ad4eb9..6b3cd9bf3 100644 --- a/examples/quickstart/src/main/webapp/WEB-INF/tags/pagination.tag +++ b/examples/quickstart/src/main/webapp/WEB-INF/tags/pagination.tag @@ -16,7 +16,7 @@ request.setAttribute("end", end);