-->
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: Reverse Engineering and quoted table/column names
PostPosted: Mon Sep 04, 2006 4:21 am 
Newbie

Joined: Mon Sep 04, 2006 4:15 am
Posts: 1
Location: Berlin
Hi, is there a possibility to let the reverse engineering hbm.xml generator make the table and column names quoted?

table="`admUser`" instead of table="admUser"

and

column name="`iUserID`" instead od column name="iUserID"


Quoted names are neccessary with Postgres.

Thanks,
Alex


Top
 Profile  
 
 Post subject:
PostPosted: Mon Sep 04, 2006 4:14 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
hmm...don't know if i could actually detect this properly via jdbc metadata...

but until then you can tweak the hbm/column.hbm.ftl to put quotes where you want them.

_________________
Max
Don't forget to rate


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.