Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @Autowired
- private BookInterface a;
- private Collection<Books1> findBooks(){
- List<Books1> books=new ArrayList<Books1>();
- for(Books1 booke : a.findAll())
- {
- books.add(booke);
- }
- return books;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement