1

Topic: wrap a SQL (Prepared) Statement in a Java 8 ResultSet Stream

Here http://www.jooq.org/java-8-and-sql the example of reading from MySQL "jOO " (an example No2) is resulted That there designates "SQL" in line SQL.stream (stmt, Unchecked.function (rs->? Interests as "wrap a Statement in a Java 8 ResultSet Stream", not "ResultSet". Googled - did not find!

2

Re: wrap a SQL (Prepared) Statement in a Java 8 ResultSet Stream

Hello, shestero, you wrote: S> Here the example of reading from MySQL "jOO " (an example No2) S> http://www.jooq.org/java-8-and-sql is resulted That there designates "SQL" in line SQL.stream (stmt, Unchecked.function (rs-> S>? I think static import org.jooq.lambda. SQL

3

Re: wrap a SQL (Prepared) Statement in a Java 8 ResultSet Stream

Hello, shestero, you wrote: S> That there designates "SQL" in line SQL.stream (stmt, Unchecked.function (rs->? This class name. S> interests as "wrap a Statement in a Java 8 ResultSet Stream", not "ResultSet". Certainly did not find, even if it is difficult to person to understand that you search. Formulate a question. What for "how"? How to create Stream from ResultSet? Yes, approximately just as from the iterator.