Skip to content

Commit

Permalink
mark parameter as deprecated since it is always null
Browse files Browse the repository at this point in the history
leaving the parameter there seems to have been a mistake,
since it was _was_ removed from nullSafeSet()
  • Loading branch information
gavinking authored and beikov committed Dec 15, 2023
1 parent 89d0a57 commit 7b7ad92
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;

/**
Expand Down

0 comments on commit 7b7ad92

Please sign in to comment.