java.sql2 minor feature request

Lukas Eder lukas.eder at
Mon Oct 23 19:24:02 UTC 2017

I like that idea - and I don't think the two paths need to be mutually
exclusive. If annotation-driven mapping should be part of "ADBA", then
SqlArray and SqlStruct seem reasonable. But the ordinary access paths that
are not annotation-driven could still exist in parallel. In that case,
List<Object> and Map<String, Object> are not unreasonable choices.

2017-10-18 22:02 GMT+02:00 Douglas Surber <douglas.surber at>:

> The minimal goal, especially for v1 does recommend List<Object> and
> Map<Object> for ARRAY and STRUCT. I have no objection to that path. This
> means removing SqlArray and SqlStruct and specifying that
> ResultMap.get(name, type) supports the type argument being List for ARRAY
> types and Map for STRUCT types.
> What do others think?
> Douglas

More information about the jdbc-spec-discuss mailing list