@@ -197,7 +197,7 @@ public boolean hasTypeHandler(Type javaType) {
197
197
return hasTypeHandler (javaType , null );
198
198
}
199
199
200
- @ Deprecated
200
+ @ Deprecated ( since = "3.6.0" , forRemoval = true )
201
201
public boolean hasTypeHandler (TypeReference <?> javaTypeReference ) {
202
202
return hasTypeHandler (javaTypeReference , null );
203
203
}
@@ -206,12 +206,12 @@ public boolean hasTypeHandler(Type javaType, JdbcType jdbcType) {
206
206
return javaType != null && getTypeHandler (javaType , jdbcType ) != null ;
207
207
}
208
208
209
- @ Deprecated
209
+ @ Deprecated ( since = "3.6.0" , forRemoval = true )
210
210
public boolean hasTypeHandler (TypeReference <?> javaTypeReference , JdbcType jdbcType ) {
211
211
return javaTypeReference != null && getTypeHandler (javaTypeReference , jdbcType ) != null ;
212
212
}
213
213
214
- @ Deprecated
214
+ @ Deprecated ( since = "3.6.0" , forRemoval = true )
215
215
public TypeHandler <?> getMappingTypeHandler (Class <? extends TypeHandler <?>> handlerType ) {
216
216
return allTypeHandlersMap .get (handlerType );
217
217
}
@@ -220,7 +220,7 @@ public TypeHandler<?> getTypeHandler(Type type) {
220
220
return getTypeHandler (type , null );
221
221
}
222
222
223
- @ Deprecated
223
+ @ Deprecated ( since = "3.6.0" , forRemoval = true )
224
224
public <T > TypeHandler <T > getTypeHandler (TypeReference <T > javaTypeReference ) {
225
225
return getTypeHandler (javaTypeReference , null );
226
226
}
@@ -230,7 +230,7 @@ public TypeHandler<?> getTypeHandler(JdbcType jdbcType) {
230
230
}
231
231
232
232
@ SuppressWarnings ("unchecked" )
233
- @ Deprecated
233
+ @ Deprecated ( since = "3.6.0" , forRemoval = true )
234
234
public <T > TypeHandler <T > getTypeHandler (TypeReference <T > javaTypeReference , JdbcType jdbcType ) {
235
235
return (TypeHandler <T >) getTypeHandler (javaTypeReference .getRawType (), jdbcType );
236
236
}
@@ -397,7 +397,7 @@ private void register(Type mappedJavaType, TypeHandler<?> handler) {
397
397
register (new Type [] { mappedJavaType }, mappedJdbcTypes (handler .getClass ()), handler );
398
398
}
399
399
400
- @ Deprecated
400
+ @ Deprecated ( since = "3.6.0" , forRemoval = true )
401
401
public <T > void register (TypeReference <T > javaTypeReference , TypeHandler <? extends T > handler ) {
402
402
register (javaTypeReference .getRawType (), handler );
403
403
}
@@ -451,7 +451,7 @@ public void register(Class<?> handlerClass) {
451
451
452
452
// java type + handler type
453
453
454
- @ Deprecated
454
+ @ Deprecated ( since = "3.6.0" , forRemoval = true )
455
455
public void register (String javaTypeClassName , String typeHandlerClassName ) throws ClassNotFoundException {
456
456
register (Resources .classForName (javaTypeClassName ), Resources .classForName (typeHandlerClassName ));
457
457
}
0 commit comments