From your log file:
05.12.2014 21:02:52.095 *ERROR* [192.168.1.108 [1417793572064] GET /content/templatecustomer/_jcr_content.persist.json HTTP/1.1] com.day.cq.wcm.core.impl.WCMDebugFilter Error during include of SlingRequestPathInfo: path='/content/templatecustomer/jcr:content', selectorString='persist', extension='json', suffix='null' org.apache.sling.api.scripting.ScriptEvaluationException:
It means that you have not setup the project files correctly. AEM cannot find persist.json file. Make sure you setup all the files exactly as shown in the article. Looks like you missed this step in the article:
Create the persist.json.jsp
Add a new JSP file named persist.json.jsp to the following CQ path:
/apps/sqlquery/components/page/mysqlTemplate
The following code represents the persist.json.jsp file.
<%@include file="/libs/foundation/global.jsp"%>
<%@ page import="org.apache.sling.commons.json.io.*,com.adobe.cq.*" %><%
String first = request.getParameter("first");
String last = request.getParameter("last");
String address = request.getParameter("address");
String desc = request.getParameter("desc");
com.adobe.aem.sql.CustomerServiceImp cs = new com.adobe.aem.sql.CustomerServiceImp();
int myPK = cs.injestCustData(first, last, address, desc) ;
//Send the data back to the client
JSONWriter writer = new JSONWriter(response.getWriter());
writer.object();
writer.key("pk");
writer.value(myPK);
writer.endObject();
%>