Some features described here are available in Ultimate edition only.
Once a session factory is created, the next step is to populate it with entities, embeddables, etc.
Creating an element in a session factory results in creating the corresponding Java class, entries in the
metadata files, and adding a node to the session factory in the Persistence tool window.
You can create Hibernate elements manually, by means of creating annotated
Java classes,
or use the context menu of the Persistence tool window.
When you use the context menu commands, IntelliJ IDEA takes care of creating classes and members, providing
annotations and adding the corresponding entries to the descriptor files.
When you create the Hibernate elements and members manually, it is the developer's responsibility to create
the necessary declarations, annotations, and accessor methods. IntelliJ IDEA provides extensive coding assistance
in the Java classes and metadata files.