This week's book giveaway is in the OCAJP forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff 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.