Ahmad,
Your code is correct, but driver can't find alias 'db' - What you think that it work in Db Explorer ?
If it work in Db Explorer then it have to work in yoour example.You have to add user and password, probably and define odbc alias
However, you can't work with hibernate and MS Access, because it doesn't exists dialect
Best regards |