标签:截断 string pre col creat upd hiberna sql hibernate
public void truncateTable(Session session, String tableNameInDb) { String sql = " truncate table " + tableNameInDb; Query query = session.createSQLQuery(sql); query.executeUpdate(); }
标签:截断 string pre col creat upd hiberna sql hibernate
原文地址:https://www.cnblogs.com/jnhs/p/12095976.html