Fixing error with ‘entityManagerFactory’ bean in Java 12 + JavaFX + Hibernate

I am using Open JDK 12, but I think that the problem exists also in Java 11, but I am not sure about that. In my project which was created like in this movie, there was an error during application running after add to project dependency with JPA:

How to build complex JavaFX application using multi .fxml files?

Complex application can’t be built in a single .fxml file. Splitting application across different files help in building easy in maintenance software. Scene Builder support using multi .fxml files and it is really simple in use. If you have not used Scene Builder yet, don’t worry. You can download it from this website. It is […]