@NickHolt answer have guided me to the right direction I had a problem with the way I had configured my Jpa Auditing... the user_id is of type Integer but I had configured the JpaAuditing info created_by as String in the BaseEntity class
created_by
String