Spring Data MongoDB example with Spring MVC 3.2 Here is another example web application built with Spring MVC 3.2 and Spring Data 1.2, integrating with the MongoDB document database. STEP 1: Create new webapp project, I will use maven for this. (Note…
一.准备工作 1.1导入所需jar包 1.2数据库 CREATE TABLE `t_customer` ( `id` ) NOT NULL AUTO_INCREMENT, `username` ) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL, `jobs` ) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL, `phone` ) CHARACTER SET u…