Modifying

@Modifying

@Query("update User u set u.firstname = ?1 where u.lastname = ?2")int setFixedFirstnameFor(String firstname, String lastname);

spring mvc 中update  需要这么写:

@Modifying
@Query("update Video set delFlag='" + Video.DEL_FLAG_NORMAL + "',type.id= ?1, uploadDate= ?2 where id= ?3")
public int updateTypes(long fId,Timestamp uploadDate,long id) ;

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
bash-2.05# ./install_stb.sh <br><br>Services Tools Bundle(STB) v1.0 Installer <br><br>Checksumming...<br><br>List of Components and Corresponding Selection<br><br>1. Install Explorer v5.11,REV=2008.01.08.10.07 ? (y/n) y<br><br> Explorer details can be found at <http://docs.sun.com/app/docs/doc/819-6614/6n8k8pjc2?a=view><br><br>Would you like to (I)nstall, (M)odify component selections, or (E)xit ? I(default)<br><br><br>STB is installing all selected modules and their dependencies.<br>Details of this will be in /var/log/install_stb-v1.0.log<br>Please wait.....<br><br>Installing Sun(TM) Explorer Data Collector ..... <br><br>Copyright 1996-2007 Sun Microsystems, Inc.<br>All rights reserved.<br>Copyright 1996-2007 Sun Microsystems, Inc.<br>All rights reserved.<br>Modifying /etc/opt/SUNWexplo/1280input.txt<br>Modifying /etc/opt/SUNWexplo/alominput.txt<br>Modifying /etc/opt/SUNWexplo/b1600input.txt<br>Modifying /etc/opt/SUNWexplo/b1600switchinput.txt<br>Modifying /etc/opt/SUNWexplo/ilominput.txt<br>Modifying /etc/opt/SUNWexplo/indyinput.txt<br>Modifying /etc/opt/SUNWexplo/ipmiinput.txt<br>Modifying /etc/opt/SUNWexplo/saninput.txt<br>Modifying /etc/opt/SUNWexplo/scinput.txt<br>Modifying /etc/opt/SUNWexplo/se3kinput.txt<br>Modifying /etc/opt/SUNWexplo/se6320input.txt<br>Modifying /etc/opt/SUNWexplo/se6920input.txt<br>Modifying /etc/opt/SUNWexplo/srscinput.txt<br>Modifying /etc/opt/SUNWexplo/t3input.txt<br>Modifying /etc/opt/SUNWexplo/tapeinput.txt<br>Modifying /etc/opt/SUNWexplo/xscfinput.txt<br>Installation of Sun(TM) Explorer Data Collector <5.11,REV=2008.01.08.10.07> was successful<br><br>STB v1.0 installation is complete...
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值