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.

Reply via email to