wood burning stoves 2.0*
The moose likes Object Relational Mapping and the fly likes I want to know how to use hibernate with Ms Access database Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "I want to know how to use hibernate with Ms Access database" Watch "I want to know how to use hibernate with Ms Access database" New topic
Author

I want to know how to use hibernate with Ms Access database

samir mohamed
Greenhorn

Joined: Jul 04, 2007
Posts: 14
Hi

I want to learn how to use Hibernate with Microsoft Access database
Could you please provide me all the steps required : step by step

Best Regards
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

I think the only way to do this is to use a commercial driver and dialect. I don't think there are any freely available open source products for either of these. The Hibernate site suggests a company called HXTT. Their site includes a simple "how to".


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
samir mohamed
Greenhorn

Joined: Jul 04, 2007
Posts: 14
Thanks Paul

I am actually bigginer in Hibernate,
Do you have any document that show how to use hibernate step by step?

Best Regards
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

Have you tried Hibernate's own documentation? It's fairly comprehensive when it comes to the basics.

By the way, if you have a choice, use a proper relational database rather than trying to learn with Access.
Mr. C Lamont Gilbert
Ranch Hand

Joined: Oct 05, 2001
Posts: 1170

I will go out on a limb and say that hibernate can not be use with the Microsoft "JET" database engine. That is a non-transactional datastore.
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

According to Hibernate, they have successfully tested with MS Access and a commercial dialect.

It still wouldn't make me choose Access unless I couldn't avoid it.
[ July 11, 2007: Message edited by: Paul Sturrock ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: I want to know how to use hibernate with Ms Access database