-->
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: Table name with spaces 'Order Details' in northwind
PostPosted: Mon May 21, 2007 3:26 pm 
Newbie

Joined: Thu May 17, 2007 2:17 am
Posts: 1
Location: Costa Rica
Hi, I need to know how to represent a table in the xml mapping file with a name like Order Details in the northwind Database?
ie, the table name contain spaces. How do I write that table name in the OrderDetails.hbm.xml file mapping?
I do the following and it now works, any help would be appreciated

<hibernate-mapping>

<class name="hibernatetravelpojo.OrderDetails"
table="ORDER DETAILS">

thanks


Top
 Profile  
 
 Post subject:
PostPosted: Mon May 21, 2007 4:15 pm 
Red Hat Associate
Red Hat Associate

Joined: Mon Aug 16, 2004 11:14 am
Posts: 253
Location: Raleigh, NC
Here ya go:
http://www.hibernate.org/hib_docs/v3/re ... dentifiers

-Chris

_________________
Chris Bredesen
Senior Software Maintenance Engineer, JBoss


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.