JPA: How to merge two jpa results to one pagable

Viewed 43

I have two Queries:

Query1(pagable) first datasource

Query2(pagable) second datasource

I would like to do something like this

Page results = merge(query1, query2)

How i can do this in JPA ?

1 Answers
Related