-->
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: Problem with column mapping
PostPosted: Thu Feb 12, 2004 10:16 am 
Newbie

Joined: Thu Feb 12, 2004 10:10 am
Posts: 6
Hi all,
how can I map a property P on a column with a name like 'XXX YYY'.
Thanks,

Luca


Top
 Profile  
 
 Post subject:
PostPosted: Thu Feb 12, 2004 10:18 am 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
Yes using quote. Read the ref guide for a sample

_________________
Emmanuel


Top
 Profile  
 
 Post subject:
PostPosted: Thu Feb 12, 2004 10:18 am 
Hibernate Team
Hibernate Team

Joined: Tue Sep 09, 2003 2:10 pm
Posts: 3246
Location: Passau, Germany
Just use the column attribute of the property element.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Feb 12, 2004 10:31 am 
Newbie

Joined: Thu Feb 12, 2004 10:10 am
Posts: 6
Thanks!
I solved the problem using "XXX YYY" in the hibernate mapping file.
Bye!


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.