openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pinaki Poddar <ppod...@apache.org>
Subject Re: java.lang.IllegalArgumentException: no-named-params
Date Tue, 25 May 2010 15:21:35 GMT

Binding query parameters have many advantages over using literals in the
query string by whatever fancy string concatenation or printf like
formatting. In fact, hard coding query parameters in the query string is a
poor (and can even be risky) practice. 

Agreed that table name itself as a parameter is not liked by some databases
and one can make a concession on that. 

-----
Pinaki 
-- 
View this message in context: http://openjpa.208410.n2.nabble.com/java-lang-IllegalArgumentException-no-named-params-tp5080072p5098951.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.

Mime
View raw message