Just wondering if it is possible to register an Access database as a date source using code in a java program rather than going to Windows to register the data source with the database manager.

How would this be done?

If anyone could point me in the right direction I would appreciate it.

Recommended Answers

I'm pretty sure an access database has to be registered as a data source. It isn't hard to do and there should be plenty of sites that explain how to set everything up.

Jump to Post

All 3 Replies

Thanks for all the responses so far.

However, what I am loking for is whether it is possible to register the database using Java code(in the program code itself), rather than going to Windows to register the database.

My guess is that you could. But it most likely will not be easy. You will have to write a lot of code specific for windows and use JNI.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.21 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.