Also it does not only work for Object[] but also for arrays with specific component type, e.g. Hotel[] View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3972300#3972300 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3972300