Java – open the paradox / Borland Database as a single file
My question is:
This is what I have: so it's a paradox 7 database file
I'm trying the driver: http://www.hxtt.com/paradox.html& https://code.google.com/archive/p/paradoxdriver/ Is:
String url = "jdbc:paradox:/D:/BABAK/powerGold/SongTitle.DB"; Connection con = DriverManager.getConnection(url);
However, exceptions will be thrown:
D:/BABAK/powerGold/SongTitle.DB isn't a database directory path!
As you can see, it tries to find some database folders, but I only have a single file! In addition, "JDBC: Paradox: / D: / Babak / powergold" (the path to all. DB folders) does not work
So, anyone, please help me find out how to open this type of database in my java application
Solution
You don't want to open the database to do this, but the specific files of the whole database In fact, your database consists of files db,. px …. form
The best way is to migrate, because this database is not supported and will really bring a lot of errors
I would recommend that you use to migrate your database
>Install paradox database reader or editor > export table to CSV file > import table in MySQL database (for example)
If you still want to connect to this database without Java migration, please share private files DB and try it now