如何在hibernate下使用truncate table

2025-03-25 18:59:17
推荐回答(1个)
回答1:

先拿到Session

session.connection().createStatement().executeQuery(sql)