package com.feiyangedu.springcloud.data.repository;

import javax.transaction.Transactional;

import org.springframework.data.repository.PagingAndSortingRepository;

import com.feiyangedu.springcloud.data.domain.User;

@Transactional
public interface UserRepository extends PagingAndSortingRepository<User, Long> {

}

@@ -50,49 +50,8 @@
 y;%0A%0A
-import javax.transaction.Transactional;%0A%0A
 impo
@@ -108,32 +108,97 @@
 rtingRepository;
+%0Aimport org.springframework.transaction.annotation.Transactional;
 %0A%0Aimport com.fei

change to spring tx