32public record
SqlParameter(Object value, Integer sqlType, String arrayElementType) {
35 if (arrayElementType !=
null && arrayElementType.isBlank()) {
36 throw new IllegalArgumentException(
"arrayElementType must not be blank");
52 public static SqlParameter arrayOf(
final String arrayElementType,
final Object[] values) {
53 Objects.requireNonNull(arrayElementType,
"arrayElementType");
54 return new SqlParameter(values, Types.ARRAY, arrayElementType);