I'm trying to put together some finder methods but hit an exception which I can't figure out - just wondered if anyone could shed some light on it (would be much appreciated! ). BTW, just to let you know, I'm a novice at the EJB thing, so if I have done anything completely silly, just excuse it
EJB QL Statement:
SELECT OBJECT(h) FROM House h WHERE h.location = ?1 AND h.bedrooms = ?2 AND h.price BETWEEN ?3 AND ?4
String location int bedrooms int minPrice int maxPrice
EJBQL: SELECT OBJECT(h) FROM House h WHERE h.location = ?1 AND h.bedrooms = ?2 AND h.price BETWEEN ?3 AND ?4 Error: line(2) column(31): JDO75311: Invalid argument(s) for '='. ; requested operation cannot be completed
I have checked all datatypes and they all correspond correctly to the database datatypes. Any help would be very welcome...