-->
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.  [ 5 posts ] 
Author Message
 Post subject: msaccess dialect?
PostPosted: Mon Oct 24, 2005 3:09 am 
Beginner
Beginner

Joined: Sun Jul 25, 2004 11:15 pm
Posts: 24
Hi.
I asked a long time ago if anyone has any knowledge of a dialect for ms access. At that time there wern't any..

I would like to ask the question again, hoping to get a different answer this time!

so if anyone knows about a ms access dialect for hibernate, please let me know where to get it from..

thanks for any help.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Oct 24, 2005 4:14 am 
Expert
Expert

Joined: Thu Sep 04, 2003 8:23 am
Posts: 368
No, there is not access dialect for hibernate. If you want you can write one, this is not a difficult task. The problem with access is that it has a syntax so specific that it is not possible to explain it with a dialect (mainly a join problem).

You can use ms access with a basic dialect and if your queries are not too complex you may manage to use it.

If you want more precisions you can see this post

http://forum.hibernate.org/viewtopic.ph ... highlight=

_________________
Seb
(Please don't forget to give credits if you found this answer useful :)


Top
 Profile  
 
 Post subject:
PostPosted: Mon Oct 24, 2005 4:18 am 
Senior
Senior

Joined: Thu Aug 04, 2005 4:54 am
Posts: 153
Location: Birmingham, UK
I actually spent quite a bit of time investigating this as I had a large amount >20GB stored accross various MDBs that needed consolidating and cleaning. After much headache I can give you these points.

    The Sun JDBC/ODBC bridge driver is worthless.
    You will need a commercial JDBC driver to do anything
    Writing a dialect for access is more trouble than it's worth


If you're goingto the trouble of writing in Java, and then distributing a Java application with all the attendant headache (JRM etc.) then you may as well go the extra half inch, put a proper database in and just write something to move the data from access to a real database.

Doing anything serious with access will cause your eyeballs to bleed, if you're not doing anything serious then Hibernate is probably overkill.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Oct 24, 2005 8:41 am 
Regular
Regular

Joined: Mon Aug 29, 2005 9:46 am
Posts: 102
Have you tried using SQL server dialect?

_________________
Don't forget to rate if the post helped!


Top
 Profile  
 
 Post subject:
PostPosted: Sat Nov 26, 2005 5:44 am 
Newbie

Joined: Sat Nov 26, 2005 5:39 am
Posts: 5
Location: Cumbria, UK
I would probably concur. Use SQLServer2000 to import and migrate MS Access, and then use the Hibernate/SQLServer 2k. Just doing something like that myself - I'll post any itinerate issues.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 5 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.