使用Spring Boot整合Spring Data JPA编写Repository接口时,说法错误的是( )

A. 自定义Repository接口可以继承CurdRepository接口

B. 可以在方法上添加@Update注解结合SQL语句实现数据修改

C. 可以在方法上添加@Delete注解结合SQL语句实现数据删除

D. 进行数据变更操作时,必须在Repository接口方法上添加@Transactional注解

参考答案与解析:

相关试题

下列关于Spring Boot整合MyBatis实现的说法,正确的是()

下列关于Spring Boot整合MyBatis实现的说法,正确的是()A. Spring Boot整合MyBatis必须提供mybatis-spring-bo

  • 查看答案
  • Spring Boot中,用于开启Web应用支持的依赖是?

    Spring Boot中,用于开启Web应用支持的依赖是?A. spring-boot-starter-webB. spring-boot-starter-da

  • 查看答案
  • spring,spring framework,spring mvc,sprin

    都是基于Spring。spring,spring framework,spring mvc,spring web flow有什么区别和联系?

  • 查看答案
  • 在Spring Boot中,如何定义一个RESTful控制器

    在Spring Boot中,如何定义一个RESTful控制器A. 使用@Controller注解B. 使用@RestController注解C. 使用@Serv

  • 查看答案
  • 在Spring Boot项目中,哪个文件用于配置应用程序的属性?

    在Spring Boot项目中,哪个文件用于配置应用程序的属性?A. application.xmlB. application.ymlC. config.pr

  • 查看答案
  • 什么是spring 的IOC AOPSTRUTS的工作流程!spring 与EJ

    [主观题]什么是spring 的IOC AOPSTRUTS的工作流程!spring 与EJB 的区别!!

  • 查看答案
  • An intermediate spring is().

    [单选题]An intermediate spring is().A . fitted in each leg of the towing bridleB . generally located between the "fishplate" and the main towing hawserC . secured at the "H" bittsD . usually made of manila hawser

  • 查看答案
  • 英语SPRING指()

    [单选题]英语SPRING指()A .活塞B .开关C .按钮D .弹簧

  • 查看答案
  • Student A: The Spring Festival is coming

    [单选题]Student A: The Spring Festival is coming finally! What about going for a picnic tomorrow?Student B: Great!______. What time and where?

  • 查看答案
  • In spring and summer, the most popular _

    [单选题]In spring and summer, the most popular ______is tennis.A. workB. activityC. gamesD. sport

  • 查看答案