Need to rename createArray to createArrayOf?
this because of the two possible interpretations of the type name
argument. As we discovered, some vendors would prefer to interpret this as
the name of the array type itself, while the SQL standard requires
that it be interpreted as the element type name. It is possible that
some time in the future the various standards bodies can come to some
agreement to permit named array types in which case the JDBC standard
would need to be expanded to include the vendor interpretation.
Further, the argument to createStruct is the name of the ADT itself.
It would be confusing to have to analogous names that interpret the
argument differently. I think createArrayOf clearly expresses that
the argument is the element type. That is missing from createArray.
this because of the two possible interpretations of the type name
argument. As we discovered, some vendors would prefer to interpret this as
the name of the array type itself, while the SQL standard requires
that it be interpreted as the element type name. It is possible that
some time in the future the various standards bodies can come to some
agreement to permit named array types in which case the JDBC standard
would need to be expanded to include the vendor interpretation.
Further, the argument to createStruct is the name of the ADT itself.
It would be confusing to have to analogous names that interpret the
argument differently. I think createArrayOf clearly expresses that
the argument is the element type. That is missing from createArray.