Skip to content
Advertisement

How to pass ArrayList to JPA repository method from lambda expression?

There is entity class:

JavaScript

How to pass callList to JPA repository.saveAll(callList) method ?

Advertisement

Answer

I think you should forget to call smth. from Steram. I do not say this is impossible, but it’s not recommended.

JavaScript

List<Call> callList could be written into DB.

User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement