springdata的步骤

xiaoxiao2021-02-28  85

<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p" xmlns:tx="http://www.springframework.org/schema/tx" xmlns:jpa="http://www.springframework.org/schema/data/jpa" xmlns:context="http://www.springframework.org/schema/context" xsi:schemaLocation="http://www.springframework.org/schema/beans  http://www.springframework.org/schema/beans/spring-beans-4.0.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.0.xsd http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-4.0.xsd http://www.springframework.org/schema/data/jpa http://www.springframework.org/schema/data/jpa/spring-tx-4.0.xsd "> <!-- 1.配置数据源 --> <!-- 2.配置JPA的:EntityManagerFactory JPA 实体管理器工厂 --> <!-- 3.配置事务管理器 --> <!-- 4.配置支持注解的事务 --> <!-- 5.配置springdata --> </beans>
转载请注明原文地址: https://www.6miu.com/read-52550.html

最新回复(0)