-->
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.  [ 4 posts ] 
Author Message
 Post subject: Compatibility with SQL Server 2000
PostPosted: Mon Jan 03, 2005 1:01 pm 
Beginner
Beginner

Joined: Mon Jan 03, 2005 12:49 pm
Posts: 21
Hi,

We know that if we use any keyword (eg user) in a mapping document, the schema-export will fail for SQL Server 2000. If I use brackets ([ and ]) to enclose the user keyword it works. Is there a cross-database way to do this ? will this approach work with Oracle or MySQL ?

Thanks

Hibernate version:
2.1.6
Mapping documents:
N/A
Code between sessionFactory.openSession() and session.close():
N/A
Full stack trace of any exception that occurs:
N/A
Name and version of the database you are using:
SQL Server 2000
The generated SQL (show_sql=true):
N/A
Debug level Hibernate log excerpt:
N?A


Top
 Profile  
 
 Post subject:
PostPosted: Fri Feb 04, 2005 11:33 am 
Beginner
Beginner

Joined: Mon Jan 03, 2005 12:49 pm
Posts: 21
I'll answer to myself...
There is not !! and the brackets do not work with Oracle
Bye !!


Top
 Profile  
 
 Post subject:
PostPosted: Fri Feb 04, 2005 12:21 pm 
Hibernate Team
Hibernate Team

Joined: Tue Sep 09, 2003 2:10 pm
Posts: 3246
Location: Passau, Germany
backticks


Top
 Profile  
 
 Post subject:
PostPosted: Fri Feb 04, 2005 6:58 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 12:50 pm
Posts: 5130
Location: Melbourne, Australia
Backticks. Exactly.

As per the documentation.


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