This is tricky since I think everyone is going to be affected by the change,
however I think the change will have a greater impact if we add/change new
names for the methods (which everyone is now used to) instead of only the
return type of the present methods. Since work has started on 2.2 this could
be seen as one of the improvements of that version and in order to make ones
own code work with 2.2 the (own) code will have to be changed to comply.

For what my opinion is worth, I'd say keep the method names and change the
return types.

/Colin



> This has been discussed before and everybody has agreed that it should be
> done.
>
> However its a problem since we are only changing the return type
(Vector ->
> List) there is no way of deprecating the various functions. As I see it we
> have 2 choices.
>
> 1. Rename all methods to something new and deprecate the old ones.
> The effected methods in BasePeer are
> doSelect(....)
> executeQuery(....)
> getSelectResults(....)
>
> and in your generated Peer are
> doSelect(....)
> doSelectVillageRecords(...)
> populateObjects(...)
> resultSet2Objects(...)
>
> 2. Just change the return type from Vector to List and let peoples
compiler
> fail.
>
>
>
> I would prefer to keep the same syntax even though it means that we are
> _not_ compatible with previous versions (+1 nr 2)
> Anybody can think of other ways to archieve it?
>
>
> - Kasper
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to