直接上代码

        String hsql = "delete XTable x where x.Userid= ?";
        Query query = this.getSession().createQuery(hsql);
        query.setString(0, "001");
        query.executeUpdate();

 

相关文章:

  • 2021-10-09
  • 2022-12-23
  • 2021-06-17
  • 2021-12-10
  • 2021-10-29
  • 2021-10-18
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-08
  • 2021-12-15
  • 2021-07-27
  • 2021-10-07
相关资源
相似解决方案