Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes JDBC and Relational Databases and the fly likes JDBC querys from directory Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "JDBC querys from directory" Watch "JDBC querys from directory" New topic

JDBC querys from directory

Koen Desmedt

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:
subject: JDBC querys from directory
It's not a secret anymore!