I have a small project that doesn’t require much disk space, so i considered using an access database.
I was wondering if anyone used a Spring + Hibernate + access combination, if so can they post the connection properties.
thanks guys
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Hibernate will theoretically work with any database that has a JDBC driver. Access does have a third party driver, so in theory, yes it will work. YMMV.
Having said that, if you’re requirements are for a lightweight database and you’re working in Java/Hibernate land. I’d use Derby instead.
Update: The sticking point for using Access might be the SQL Dialect, In the Hibernate configuration you need to declare a class to tell Hibernate what dialect of SQL it is using. There is a list of supported dialects, If any of these is 100% compatible with Access you could use that (I’m afraid I don’t know which that would be, if any).