We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8dae9d5 commit 44c62a5Copy full SHA for 44c62a5
hibernate-core/src/main/java/org/hibernate/relational/SchemaManager.java
@@ -71,6 +71,11 @@ public interface SchemaManager extends jakarta.persistence.SchemaManager {
71
* load script}.
72
* <p>
73
* Programmatic way to run {@link org.hibernate.tool.schema.spi.SchemaTruncator}.
74
+ * <p>
75
+ * This operation does not affect the {@linkplain org.hibernate.Cache second-level cache}.
76
+ * Therefore, after calling {@code truncate()}, it might be necessary to also call
77
+ * {@link org.hibernate.Cache#evictAllRegions} to clean up data held in the second-level
78
+ * cache.
79
*
80
* @apiNote This operation is a synonym for {@link #truncate}.
81
*/
0 commit comments