There's no support for this in EJB3. Just use an ordinary query. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4018228#4018228 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4018228