-->
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: Jet engine with Access table named Transaction fails
PostPosted: Sun Jul 08, 2007 9:42 pm 
Newbie

Joined: Sun Jul 08, 2007 9:36 pm
Posts: 1
using NHiberate 1.2.0 with the JetDriver.dll for an Access database.
One of the access tables was named "Transaction".
Doing a select or update caused NHibernate to fail with "could not create entity".
Renamed table to something else e.g. "Transact" and NHibernate works.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jul 08, 2007 10:46 pm 
Hibernate Team
Hibernate Team

Joined: Tue Jun 13, 2006 11:29 pm
Posts: 315
Location: Calgary, Alberta, Canada
Try quoting the table name with back ticks like this:

Code:
<class name="Transaction" table="`Transaction`">
    ...
</class>

_________________
Karl Chu


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.