mark parameter as deprecated since it is always null

leaving the parameter there seems to have been a mistake,
since it was _was_ removed from nullSafeSet()
This commit is contained in:
Gavin 2023-05-11 20:40:39 +02:00 committed by Christian Beikov
parent 89d0a5715d
commit 7b7ad92a39
1 changed files with 3 additions and 1 deletions

View File

@ -286,8 +286,10 @@ public interface UserType<J> {
* Read an instance of the Java class mapped by this custom type
* from the given JDBC {@link ResultSet}. Implementors must handle
* null column values.
*
* @param owner in Hibernate 6, this is always null
*/
J nullSafeGet(ResultSet rs, int position, SharedSessionContractImplementor session, Object owner)
J nullSafeGet(ResultSet rs, int position, SharedSessionContractImplementor session, @Deprecated Object owner)
throws SQLException;
/**