I would like to do something like @where(clause="this.event = getCurrentEvent()") View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3974015#3974015 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3974015