|
From: Ken K. <kk...@kk...> - 2003-12-31 20:12:11
|
David,
I don't understand why you think it would be nice to ***override*** it.
The execute method does all the IOC hard stuff for you. If you override
it, you have to do this yourself, adding unnecessary duplication. That's
why it's final. The same goes for SqlUpdate.update. In your example, why
not simply manipulate the parameters to your heart's content before
passing them to the execute method ?
Ken
Heimann, David X - San Mateo, CA wrote:
> Developers,
>
> Could you change
>
> *public** final* List execute(*final* Object[] parameters, Map context)
> {
> ...
> }
>
> in org.springframework.jdbc.object.SqlQuery to not be final ? It
> would be nice to overload it, for example to change all parameters to
> upper case before executing. The similar update method in SqlUpdate
> is not final. Why be final at all ?
>
> David Heimann
>
|