This week's book giveaway is in the Testing forum. We're giving away four copies of The Way of the Web Tester: A Beginner's Guide to Automating Tests and have Jonathan Rasmusson on-line! See this thread for details.
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.