Fran Ferri, are you literally using the following?
q.setParameter("subcategory_id0", 1234);
q.setParameter("subcategory_id1", 1234);
If so, do the following instead:
q.setParameter("subcategory_id0", 1234);
q.setParameter("subcategory_id1", 1234);
Note the ":" chars missing from the front.
|