-->
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.  [ 1 post ] 
Author Message
 Post subject: Keyword/Table name incompatability
PostPosted: Fri Jul 22, 2005 8:21 pm 
Hello,

Getting an error when trying to load an object from a table that has the same name as a SQL keyword. The table name is 'Order'. The database is MS SQL 2000. When I try to load an Order object I get an ADO exception thrown stating that there's incorrect syntax around the keyword 'Order'. Looks like there needs to be a way to add brackets around the name.

Does anyone have a work around? (Other than renaming the table)

Thanks.


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

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.