-->
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: Dealing with reserved works on MySQL
PostPosted: Thu Dec 10, 2009 8:36 am 
Newbie

Joined: Thu Feb 12, 2009 10:00 am
Posts: 18
I would like to configure an existing application to use MySQL. Unfortunately the schema of the application contains some reserved word which cause the application to fail when run against MySQL. Initially I hoped to get around the problem by creating the tables manually and enclose the reserved words in quotes as suggested here:http://dev.mysql.com/doc/refman/5.0/en/reserved-words.html

However there are still references to the problematic columns within the application. Is it possible to get hibernate to also enclose any column references with quotes ? I have a look at the available configuration properties, but could not find any that would do that.

Unfortunately it is too late to change the schema at this stage.

Thanks in advance
Alex


Top
 Profile  
 
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.