Hi,
yes after adding a persistent property estimatedMonthlyPayment you can use it in the query. Please make sure to use the property estimatedMonthlyPayment in your query (instead of the accessor method getEstimatedMonthlyPayment):
SELECT o FROM House as o WHERE o.estimatedMonthlyPayment BETWEEN :startPrice AND :endPrice
Regards Michael
[Message sent by forum member 'mb124283' (mb124283)]
http://forums.java.net/jive/thread.jspa?messageID=218802