I would like to connect to a different file name rather than DBF. I see in your documentation that it says to:
"Please use "properties.setProperty("DefaultExtension","DEC");properties.setProperty("DefaultNTXExtension","INC");" for
"DriverManager.getConnection(url,properties);"."
How do we do this non-programmatically i.e. without using the driver manager class?
Please let me know if there is a different way to do this. We have 3 different files that we need to connect to with extensions of ".ind", ".trk" and ".stn".
|
>How do we do this non-programmatically
You can store those information in your jdbc url in a file, then your program to read that url:)
For instance,
jdbc:dbf:/c:/dbffiles?DefaultExtension=IND;DefaultNTXExtension=INC
|