Testing and try the method: access database, read and change data in JPA callbacks