public void truncateTable(Session session, String tableNameInDb) {
        String sql = " truncate table  " + tableNameInDb;
        Query query = session.createSQLQuery(sql);
        query.executeUpdate();
    }

相关文章:

  • 2021-07-23
  • 2021-10-30
  • 2022-12-23
  • 2022-02-21
  • 2021-08-05
  • 2021-07-18
猜你喜欢
  • 2022-12-23
  • 2021-05-17
  • 2021-10-18
  • 2022-12-23
  • 2023-03-20
  • 2022-01-02
相关资源
相似解决方案