|
|
|
|
@ -18,15 +18,15 @@ package org.springframework.jdbc.support;
@@ -18,15 +18,15 @@ package org.springframework.jdbc.support;
|
|
|
|
|
|
|
|
|
|
import java.sql.Types; |
|
|
|
|
|
|
|
|
|
import org.jspecify.annotations.Nullable; |
|
|
|
|
|
|
|
|
|
import org.springframework.aot.hint.MemberCategory; |
|
|
|
|
import org.springframework.aot.hint.RuntimeHints; |
|
|
|
|
import org.springframework.aot.hint.RuntimeHintsRegistrar; |
|
|
|
|
import org.springframework.lang.Nullable; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* {@link RuntimeHintsRegistrar} implementation that registers runtime hints for |
|
|
|
|
* {@link JdbcUtils}. |
|
|
|
|
* |
|
|
|
|
* @author Brian Clozel |
|
|
|
|
* @since 6.2.13 |
|
|
|
|
*/ |
|
|
|
|
@ -34,7 +34,7 @@ class JdbcUtilsRuntimeHints implements RuntimeHintsRegistrar {
@@ -34,7 +34,7 @@ class JdbcUtilsRuntimeHints implements RuntimeHintsRegistrar {
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
public void registerHints(RuntimeHints hints, @Nullable ClassLoader classLoader) { |
|
|
|
|
hints.reflection().registerType(Types.class, MemberCategory.ACCESS_PUBLIC_FIELDS); |
|
|
|
|
hints.reflection().registerType(Types.class, MemberCategory.PUBLIC_FIELDS); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|