Is there a way to find entities with a null in the db column in CMP type of Entity EJB-s ? ( Like in BMP Entity EJB one would get when issuig the statement "select column from table where foo IS NULL") Right now ejbFindByFoo(Integer x) returns nothing when x==null I would need it to return all the primary keys that have NULL in the database column. thanks in advance, K.L.
posted 15 years ago
I think this is container specific. If the vendor' ql allows queries of the type 'WHERE SOMETHING IS NULL' this should b no problem. In EJB 2.0 it would not be a problem thanks to Ejb QL.