File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
spring-cloud-task-core/src/main/java/org/springframework/cloud/task/configuration Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change 2828 * Native Hints for Spring Cloud Task.
2929 *
3030 * @author Glenn Renfro
31+ * @author Mahmoud Ben Hassine
3132 * @since 3.0
3233 */
3334public class TaskRuntimeHints implements RuntimeHintsRegistrar {
@@ -36,8 +37,10 @@ public class TaskRuntimeHints implements RuntimeHintsRegistrar {
3637 public void registerHints (RuntimeHints hints , ClassLoader classLoader ) {
3738 hints .reflection ().registerType (TypeReference .of ("java.sql.DatabaseMetaData" ), hint -> {
3839 });
40+ hints .resources ().registerPattern ("org/springframework/cloud/task/schema-db2.sql" );
3941 hints .resources ().registerPattern ("org/springframework/cloud/task/schema-h2.sql" );
4042 hints .resources ().registerPattern ("org/springframework/cloud/task/schema-mysql.sql" );
43+ hints .resources ().registerPattern ("org/springframework/cloud/task/schema-mariadb.sql" );
4144 hints .resources ().registerPattern ("org/springframework/cloud/task/schema-oracle.sql" );
4245 hints .resources ().registerPattern ("org/springframework/cloud/task/schema-postgresql.sql" );
4346 hints .resources ().registerPattern ("org/springframework/cloud/task/schema-hsqldb.sql" );
You can’t perform that action at this time.
0 commit comments