struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Pilgrim" <>
Subject Dynamic Properties and Database
Date Fri, 15 Feb 2002 11:11:16 GMT


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

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.


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:   <>
For additional commands, e-mail: <>

View raw message