[JPA_SPEC-2] Use of Parameter objects with StoredProcedureQuery Created: 05/Dec/11 Updated: 04/Apr/13 Resolved: 04/Apr/13
|Resolution:||Works as designed||Votes:||0|
|Remaining Estimate:||Not Specified|
|Time Spent:||Not Specified|
|Original Estimate:||Not Specified|
The issue was previously raised in email discussion by Rainer:
Should we consider changing the return type of the register methods, as:
which would enable us to add a method
We could then say that the usage of a Parameter<T> object other than the ones created by one of the register methods is undefined for a certain StoredProcedure.
The change, and tradeoff to consider, is that the current registerStoredProcedureParameter methods return the StoredProcedureQuery object (which allows method chaining).
|Comment by ldemichiel [ 04/Apr/13 ]|
Consensus was to leave this as is, with support for chaining by return of StoredProcedureQuery object.