title: JOOQ JSON-ResultSet
body: <p>I have a Java application which used to fetch data from MySql database using JDBC and ResultSet. I had a DB communication subsystem that would receive name of the stored procedure to execute, list of arguments and simply return "ResultSet" containing all requested data.</p>
  
  <p>Now, i want to start using JOOQ, but instead of changing this huge application on every place database results are processed, i would prefer to just JOOQ-ize part of the system in charge of direct database communication. That means, from "outside" (rest of the system) everything should seem the same - procedure receives name of the stored procedure to execute and list of arguments, JOOQ does it's thing and returns ResultSet to retain full compatibility.</p>
  
  <p>I know how to convert ResultSet into JSON using JOOQ, but do you know how to convert JSON JOOQ provided me with to ResultSet? </p>