2
I have the following question: I realized that when using JPA (Hibernate) + Spring in a JSF (Primefaces) application my entities are not updated immediately when performing a registration, for example, I have a Users registration screen where when doing the same everything happens normally, the information is persisted in the database, but when trying to use for example a component auto-complete on another page the registration of the newly added entity does not appear, unless I restart the server, after reboot everything works normally.
I created the topic in the JPA session because searching through the internet, I believe it is something related to the Cache configuration of Hibernate but I still could not find the solution, in case someone has already gone through it or has some light on the subject please let me know.
Thanks, see you later
more details, please... I could not identify if the problem is really persistent. post the code and its configuration files, persistence.xml for example. only what is necessary for a good analysis.
– Marcos Sousa