cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Snaplogic connect to MS-Access MDB database

dshen
Employee
Employee

You can use the JDBC snap to access the MS-Access MDB database by using 3rd party JDBC driver. The example here is using the JDBC driver from UCanAccess.

54285b32d204cd6b7a10fe3ce71b835e5b3c94fd.png

Note that the JDBC driver will have no idea on how to access an SLDB:// location. The database file must be local on the groundplex or somewhere accessible from the groundplex.

8 REPLIES 8

thank you, it solved the issue.

Our groundplex nodes are on Linux. Does the Access DB file have to reside on a file system thatโ€™s mounted on the groundplex node? Or could it reside on a Windows network share thatโ€™s network accessible from the groundplex node?

subbhasis
New Contributor

I have used similar connection with accdb file in the groundplex location . I am getting another error โ€œUCAExc:::4.0.2 unexpected end of statementโ€

image

Hello,

This looks like an issue with the 3rd party driver UcanAccess. I have tried another driver (Trial Versions of caigen driver) and itโ€™s working fine.

370acbab453550d1e6310bb3ecce9d8a90079c02.pngโ€‹

Snaplogic is using updated the Hikari connection pool management library version. This newer version requires databases to be able to support a validation query of โ€œSELECT 1;โ€ or have the driver itself implement a custom validation method. If you run select 1 using caigen driver itโ€™s working fine but ucanaccess driver is rejecting that query. If the driver is JDBC 4.0 compatible they should support isValid method.

โ€“ Please see the below doc.

https://docs.oracle.com/javadb/10.8.3.0/ref/rrefjdbc4_0connection.html

โ€“ Caigen links

http://www.caigen.com/download.html