Hey guys!
I’m trying to pull data from Access to Julia using an example I found, but it’s not working.
using JDBC
using Access #In the example the Access is being called as if it were a pkg
#To start it, add the database driver jar file to the classpath and then start the JVM.
JDBC.usedriver("/home/me/derby/derby.jar")
init() = JavaCall.init() # ou JavaCall.init()
#The JVM remains in memory unless you explicitly destroy it. It can be done with
destroy() = JavaCall.destroy() # ou JavaCall.destroy ()
fn = "C:\\temp\\TestDatabase.accdb" # github
df = Access.query(fn,"SELECT * FROM Person WHERE BirthYear > 1980")
Part of the example is just what I saw in Access.jl that you created, I just didn’t download UCanAccess. Perhaps this is the reason for the error.
Thank you!
For both attempts Julia gives me this error message:
ERROR: failed to clone from git@github.com:hellemo/Access.jl.git, error: GitError(Code:ERROR, Class:SSH, Failed to authenticate SSH session : Unable to open public key file)