File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
hibernate-core/src/main/java/org/hibernate Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -1101,7 +1101,12 @@ public interface Session extends SharedSessionContract, EntityManager {
1101
1101
* @return an instance of {@link IdentifierLoadAccess} for executing the lookup
1102
1102
*
1103
1103
* @throws HibernateException If the given class does not resolve as a mapped entity
1104
+ *
1105
+ * @deprecated This method will be removed.
1106
+ * Use {@link #find(Class, Object, FindOption...)} instead.
1107
+ * See {@link FindOption}.
1104
1108
*/
1109
+ @ Deprecated (since = "7.1" , forRemoval = true )
1105
1110
<T > IdentifierLoadAccess <T > byId (Class <T > entityClass );
1106
1111
1107
1112
/**
@@ -1113,7 +1118,12 @@ public interface Session extends SharedSessionContract, EntityManager {
1113
1118
* @return an instance of {@link IdentifierLoadAccess} for executing the lookup
1114
1119
*
1115
1120
* @throws HibernateException If the given name does not resolve to a mapped entity
1121
+ *
1122
+ * @deprecated This method will be removed.
1123
+ * Use {@link #find(Class, Object, FindOption...)} instead.
1124
+ * See {@link FindOption}.
1116
1125
*/
1126
+ @ Deprecated (since = "7.1" , forRemoval = true )
1117
1127
<T > IdentifierLoadAccess <T > byId (String entityName );
1118
1128
1119
1129
/**
You can’t perform that action at this time.
0 commit comments