摘要:
(1)首先,在springboot项目pom.xml中引入redis依赖 <dependency> <groupId>redis.clients</groupId> <artifactId>jedis</artifactId> <version>2.9.0</version> </dependenc 阅读全文
摘要:
@SpringBootApplication@EnableTransactionManagement //添加事务管理需要的注解@ServletComponentScan("com.chaojimanong.shop.web") //扫描过滤器@MapperScan("com.chaojimanon 阅读全文
摘要:
server.port:8088 spring.datasource.driverClassName=com.mysql.jdbc.Driverspring.datasource.url=jdbc:mysql://172.13.21.22:3306/shop_db?useUnicode=true&c 阅读全文
摘要:
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/P 阅读全文
摘要:
一.单表增删改查 阅读全文
摘要:
<?xml version="1.0" encoding="UTF-8"?><persistence version="2.1" xmlns="http://xmlns.jcp.org/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XML 阅读全文