struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sean Burlington <s...@uncertainty.org.uk>
Subject Re: is there a better way of creating SQL queries from form objects ?
Date Tue, 10 May 2005 10:57:22 GMT
Erik Weber wrote:
> As far as the implementation goes, there is no reason to be scared of 
> switches and loops. (But favor polymorphism/virtual functions over a 
> giant loop.) However, you should get rid of all those concat operators 
> and use StringBuffer.append instead. The performance will improve 
> significantly.
> 

thanks Eric

polymorphism - that was the word I needed :-)

now google can help me ...

-- 

Sean

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message