Advertisement
Guest User

Untitled

a guest
Jun 16th, 2019
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. @Autowired
  2. private BookInterface a;
  3.  
  4. private Collection<Books1> findBooks(){
  5. List<Books1> books=new ArrayList<Books1>();
  6. for(Books1 booke : a.findAll())
  7. {
  8. books.add(booke);
  9. }
  10. return books;
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement