This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
I see the following reference that JDBC can be used to access "flat files", but have yet to find any examples thereof!
I've already spent several hours searching to no avial, can anyone tell me if i'm interpreting the following product statement correctly to mean that i can use the JDBC to read a comma delimited file?
My ultimate objective is to read the file and then use the XML Resultset capability!
Thanks for any insights!
"The JDBCTM API provides universal data access from the JavaTM programming language. Using the JDBC 3.0 API, you can access virtually any data source, from relational databases to spreadsheets and flat files. JDBC technology also provides a common base on which tools and alternate interfaces can be built."
Unless this is a quest for knowledge and experience or a job requirement that one thing - but otherwise, why would you want to do this? Since cvs files are by definition delimited, I would think that it would be faster and easier to use java.io for this.