openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pinaki Poddar <>
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. 

View this message in context:
Sent from the OpenJPA Users mailing list archive at

View raw message