title: Spring Data JPA findAll() or findbyId() return wrong value in spring boot
body: <p>I'm currently struggling with findAll() method when I try to retrieve data from SQL Server
  here are my code:</p>
  <p>Alien:</p>
  <pre><code> @Entity
  public class Alien {
      @Id
      private String aid;
      private String name;
      private String tech;
  </code></pre>
  <p>AlienController:</p>
  <pre><code>@Controller
  public class AlienController {
  
  @Autowired
  AlienRepository repo;
  
  @RequestMapping(&quot;/&quot;)
  public String home() {
      return &quot;home.jsp&quot;;
  }
  @RequestMapping(&quot;/getAliens&quot;)
  @ResponseBody
  public String getAlien() {
      return repo.findAll().toString();
    }
  }
  </code></pre>
  <p>Repository</p>
  <pre><code>public interface AlienRepository extends CrudRepository&lt;Alien, String&gt;{
  
  }
  </code></pre>
  <p>And my problem is whenever I try to retrieve all the Aliens in my DB I usually got this value</p>
  <pre><code>[com.example.demo.model.Alien@1f012f9c, com.example.demo.model.Alien@553ee2df, com.example.demo.model.Alien@67c572ce]
  </code></pre>
  <p>Usually it has to return the value of the Alien like aid , name and tech but all I got is this</p>