are there any kotlin extensions for spring data JP...
# spring
p
are there any kotlin extensions for spring data JPA's streaming API that make it use kotlin collection types, or should i just stick with java.util.Stream in kotlin?
looks like the
asSequence()
extension method should be sufficient, since it wraps Stream#iterator(), which itself wraps the lazy iteration of the stream
s
Yeah I would recommend using
asSequence()
.