File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JDBC and the fly likes JDBC querys from directory Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "JDBC querys from directory" Watch "JDBC querys from directory" New topic
Author

JDBC querys from directory

Koen Desmedt
Greenhorn

Joined: Aug 01, 2011
Posts: 2
Hello Forum.

I am making a java program that workt with JDBC to contact a database and send querys from a directory to it and get the result back.
How can i select all the querys that i have in a directory?
Because now i think i only select test.sql
Also the output has to be saved in a cvs file. I don't know how i should do that, is it just create_new???


Btw if you have any remarks on the code please share

This is the code:

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JDBC querys from directory