I think thats a good idea. I would put much more information in the pre..() methods. I'd like to be able to write a generic Interceptor. So I'd like to know in which table I am and everything about the fields (names, types, fkeys, ...) - even when the values are null.
Cheers, Jan. > Hi all, > > Could we change the Hashtable fieldValues the the FieldValues type in > the > the interceptor interfaces > > int preInsert(HttpServletRequest request, Hashtable fieldValues, > DbFormsConfig config, Connection con) throws ValidationException; > > int preUpdate(HttpServletRequest request, > java.util.Hashtable fieldValues, DbFormsConfig config, Connection > con) > throws ValidationException; > > int preDelete(HttpServletRequest request, Hashtable fieldValues, > DbFormsConfig config, Connection con) throws ValidationException; > > ??? > > Holded information is the same. > > Benefits are: > - type save using of FieldValues > - the time consumpting and faulty packing and unpacking could be > removed. > > Problem is that all people must change there interceptors to the new > interface. The published methods are the same, so that changing the > parameters does the work. > > Any suggestions and comments? > > Regards, > Henner > > > > ------------------------------------------------------- > This SF.net email sponsored by: Enterprise Linux Forum Conference & Expo > The Event For Linux Datacenter Solutions & Strategies in The Enterprise > Linux in the Boardroom; in the Front Office; & in the Server Room > http://www.enterpriselinuxforum.com > _______________________________________________ > DbForms Mailing List > > http://www.wap-force.net/dbforms > -- NEU F�R ALLE - GMX MediaCenter - f�r Fotos, Musik, Dateien... Fotoalbum, File Sharing, MMS, Multimedia-Gru�, GMX FotoService Jetzt kostenlos anmelden unter http://www.gmx.net +++ GMX - die erste Adresse f�r Mail, Message, More! +++ ------------------------------------------------------- This SF.net email sponsored by: Enterprise Linux Forum Conference & Expo The Event For Linux Datacenter Solutions & Strategies in The Enterprise Linux in the Boardroom; in the Front Office; & in the Server Room http://www.enterpriselinuxforum.com _______________________________________________ DbForms Mailing List http://www.wap-force.net/dbforms
