P
Peter said:Hi
How can we use JDBC to access a File system?
do so.Michael Borgwardt said:By writing an appropriate JDBC driver. Not that it would make any sense to
Wendy said:By writing an appropriate JDBC driver. Not that it would make any sense to
do so.
Sure it would... the database I use at work [IBM's UniData] can address a
filesystem "directory" as a database file, each filesystem "file" is a
record. If they're text files, then each line is treated as a field. This
makes it really easy to deal with all sorts of data that make more sense in
text files than in a "real" database table,
Michael Borgwardt said:I still fail to see why anyone would consider this a good thing. It
loses you performance and data integrity, and if you need neither,
why bother making it look like a database?
Peter said:
If you are talking about accessing a file containing tabular data, for
example in tab separated or comma separate value format, then you can load
the data into an Excel spreadsheet, name the range containing the values,
identify the named range as an ODBC source, and then use the JDBC-ODBC
bridge.
Michael Borgwardt said:Wendy said:By writing an appropriate JDBC driver. Not that it would make any sense to
do so.
Sure it would... the database I use at work [IBM's UniData] can address a
filesystem "directory" as a database file, each filesystem "file" is a
record. If they're text files, then each line is treated as a field. This
makes it really easy to deal with all sorts of data that make more sense in
text files than in a "real" database table,
I still fail to see why anyone would consider this a good thing. It loses
you performance and data integrity, and if you need neither, why bother
making it look like a database?
Hi
It would be a good idea. because:
JDO -> JDBC -> database is good
but JDO -> JDBC -> file system is also good
Peter said:Hi
It would be a good idea. because:
JDO -> JDBC -> database is good
but JDO -> JDBC -> file system is also good
Michael said:Why would the second case be "good"?
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.