Because all procedures are similar, we'll describe how to use Hibernate pattern, for instance.
- Place the caret within the Spring configuration file, and press Alt+InsertCommand N; Command Enter.
- In the Generate menu select Patterns | Hibernate.
- In the Add Hibernate Beans dialog box, select what beans you want to create. By default, required ones are already selected. If Hibernate libraries are missing in the module, click Fix to configure them. Click OK.
- IntelliJ IDEA guides you through creating beans. You need only to select desired values for bean attributes.