HI

I have had a look Jan Sorenson's  Dynamic Properties contribution

http://husted.com/struts/resources/DynamicProperties.htm

How useful is this code for reading from and writing to arbitary database
tables. It sounds like I can map any database column name to
an action form property.

For example given the SQL table

create table COFFEE (
     coffee_id integer,
     coffee_name    varchar(null),
     coffee_desc    varchar(null),
     . . . )

Mapped to action form accessor and mutator

     public int getCoffee_Id() ;
     public void  setCoffee_Id( int ) ;
     . . .

It looks a bit nasty especially the underscores but I think it could work.

Comments

--
Peter Pilgrim                 ++44 (0)207-545-9923

............................................ Swamped under electionic mails


--

This e-mail may contain confidential and/or privileged information. If you are not the 
intended recipient (or have received this e-mail in error) please notify the sender 
immediately and destroy this e-mail. Any unauthorized copying, disclosure or 
distribution of the material in this e-mail is strictly forbidden.



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

Reply via email to