I am trying to create some metamodel classes from my entities but the guide is outdated and can't be used to the latest IntelliJ Idea.
Here is the link to the old guide : http://blogs.jetbrains.com/idea/2009/11/userfriendly-annotation-processing-support-jpa-20-metamodel/