Currently the native query interfaces do not expose any componentized form of parameter information (e.g., query.getParameter("foo")). JPA does. We know that ultimately we want to consolidate (at least conceptually) native and JPA. To that end maybe it makes sense to introduce a "parameter binding" construct in native like we have in our JPA impl. The reason that is important is because then the native contracts could be something like query.getParameter( "foo" ).passNulls( true ) Again, this all assumes we go for per-param. |