I want to export oracle(8i) data to CSV file
using technique like that
Java Tips - How to export data from database to CSV file

but I don't know how to do with Oracle classes12.jar.

When I use JetEngine(ADO connection),
the below statement allows me to connect CSV file
as if it were database's table.
 select * into [text;database=folder name].[file name] from table name;

Is there any general SQL statement for JDBC like this?

Please let me know.

Thanks in advance.