-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: How to configure Hibernate2.1 with Microsoft Access Database
PostPosted: Tue Jul 04, 2006 5:43 am 
Newbie

Joined: Tue Jul 04, 2006 5:27 am
Posts: 1
Location: Hyderabad
Dear All,

I am doing a web project, I have to use hibernate tool for connecting MS Access Database. Can any one please tell me what are the steps I need to follow to work out hibernate2.1 with Microsoft Access Database?

Thanks in Advance

Ending by This... Hoping to hear from you soon

Ravi Kumar

_________________
Thanks and Regards
Ravi Kumar


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jul 04, 2006 9:13 am 
Expert
Expert

Joined: Tue Dec 28, 2004 7:02 am
Posts: 573
Location: Toulouse, France
Hibernate is not directly concerned about Access, the first thing is to provide a jdbc driver for access. If you don't have this, you can't go further (or maybe by using jdbc-odbc bridge).

Then, you should try and precise the dialect : http://www.hibernate.org/hib_docs/refer ... l-dialects

But it seems that Access has not one...

To sum up, try to open a jdbc connection manually without even using Hibernate, then only try to use Hibernate. Hibernate uses JDBC, so if you aren't able to access the db with jdbc, forget Hibernate :-).

_________________
Baptiste
PS : please don't forget to give credits below if you found this answer useful :)


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.