After an entity is fetched using the JpaRepository methods of Spring Data JPA, e.g. findOne, findBy..., etc., I was wondering what would b
Have not tried myself but it seems that the @PostLoad annotation may help you to execute code to change the state of a business object after retrieving it from the database.
But in your concrete case I would simply create a method getFullName that concatenates firstName and secondName without storing the value in the bean.