From 895ac83537a0722ee561abe3319767b315b0a519 Mon Sep 17 00:00:00 2001 From: Christian Beikov Date: Wed, 19 Jan 2022 17:46:08 +0100 Subject: [PATCH] Mark some classes as internal which should go away when transitioning to SqlAst based rendering --- hibernate-core/src/main/java/org/hibernate/sql/Delete.java | 2 ++ hibernate-core/src/main/java/org/hibernate/sql/InFragment.java | 2 ++ hibernate-core/src/main/java/org/hibernate/sql/Insert.java | 2 ++ .../src/main/java/org/hibernate/sql/SimpleSelect.java | 2 ++ hibernate-core/src/main/java/org/hibernate/sql/Update.java | 2 ++ 5 files changed, 10 insertions(+) diff --git a/hibernate-core/src/main/java/org/hibernate/sql/Delete.java b/hibernate-core/src/main/java/org/hibernate/sql/Delete.java index 0bf55b99ba..3ba94782c5 100644 --- a/hibernate-core/src/main/java/org/hibernate/sql/Delete.java +++ b/hibernate-core/src/main/java/org/hibernate/sql/Delete.java @@ -9,6 +9,7 @@ import java.util.Iterator; import java.util.LinkedHashMap; import java.util.Map; +import org.hibernate.Internal; import org.hibernate.dialect.Dialect; /** @@ -16,6 +17,7 @@ import org.hibernate.dialect.Dialect; * * @author Gavin King */ +@Internal public class Delete { protected String tableName; diff --git a/hibernate-core/src/main/java/org/hibernate/sql/InFragment.java b/hibernate-core/src/main/java/org/hibernate/sql/InFragment.java index 28ad7d2968..a97b0e7079 100644 --- a/hibernate-core/src/main/java/org/hibernate/sql/InFragment.java +++ b/hibernate-core/src/main/java/org/hibernate/sql/InFragment.java @@ -10,6 +10,7 @@ import java.util.ArrayList; import java.util.Collections; import java.util.List; +import org.hibernate.Internal; import org.hibernate.internal.util.StringHelper; /** @@ -19,6 +20,7 @@ import org.hibernate.internal.util.StringHelper; * * @author Gavin King */ +@Internal public class InFragment { public static final String NULL = "null"; diff --git a/hibernate-core/src/main/java/org/hibernate/sql/Insert.java b/hibernate-core/src/main/java/org/hibernate/sql/Insert.java index 8ffeafa18a..eaad3ddabe 100644 --- a/hibernate-core/src/main/java/org/hibernate/sql/Insert.java +++ b/hibernate-core/src/main/java/org/hibernate/sql/Insert.java @@ -9,6 +9,7 @@ import java.util.Iterator; import java.util.LinkedHashMap; import java.util.Map; +import org.hibernate.Internal; import org.hibernate.MappingException; import org.hibernate.dialect.Dialect; @@ -17,6 +18,7 @@ import org.hibernate.dialect.Dialect; * * @author Gavin King */ +@Internal public class Insert { protected String tableName; diff --git a/hibernate-core/src/main/java/org/hibernate/sql/SimpleSelect.java b/hibernate-core/src/main/java/org/hibernate/sql/SimpleSelect.java index 6e1dfcfaf8..0045de241a 100644 --- a/hibernate-core/src/main/java/org/hibernate/sql/SimpleSelect.java +++ b/hibernate-core/src/main/java/org/hibernate/sql/SimpleSelect.java @@ -14,6 +14,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import org.hibernate.Internal; import org.hibernate.LockMode; import org.hibernate.LockOptions; import org.hibernate.dialect.Dialect; @@ -23,6 +24,7 @@ import org.hibernate.dialect.Dialect; * * @author Gavin King */ +@Internal public class SimpleSelect { public SimpleSelect(Dialect dialect) { diff --git a/hibernate-core/src/main/java/org/hibernate/sql/Update.java b/hibernate-core/src/main/java/org/hibernate/sql/Update.java index 676c866960..45d5890d04 100644 --- a/hibernate-core/src/main/java/org/hibernate/sql/Update.java +++ b/hibernate-core/src/main/java/org/hibernate/sql/Update.java @@ -9,6 +9,7 @@ import java.util.Iterator; import java.util.LinkedHashMap; import java.util.Map; +import org.hibernate.Internal; import org.hibernate.dialect.Dialect; /** @@ -16,6 +17,7 @@ import org.hibernate.dialect.Dialect; * * @author Gavin King */ +@Internal public class Update { protected String tableName;