The @StaticMetamodel isn't related to EJB3.1. It's a JPA construct. You might want to ask this question in a JPA specific forums like Hibernate. You have a better chance of getting it answered there, than here.
By the way, I guess you have already come across this http://docs.jboss.org/hibernate/entitymanager/3.5/reference/en/html/metamodel.html
Thanks for your clarification and I've managed to set up a pre-processor for my JPA beans generating my meta-model. I'll move this topic over to Hibernate forum.