How to write data from MySql table to Excel using Java?

Hi, I have built an application using java programming and I want to write MySQL table data to excel sheet by using Apache’s POI libraries and MySQL connector in java. I have explored many mobile development blogs for my previous query on Android Programming & get a satisfactory solution. I hope some of the tech experts in this community can help to figure out my issue on java programming.

This Forum is about Grav, a Content Management System which does not use MySQL or any other database and does not use Java.
I expect you have more luck posting your question on Stack Overflow.