-->
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: Class name and mapping: Duplicate Import
PostPosted: Tue Apr 13, 2004 3:45 pm 
Newbie

Joined: Tue Nov 04, 2003 8:38 am
Posts: 2
Hi.

I


Top
 Profile  
 
 Post subject:
PostPosted: Tue Apr 13, 2004 4:53 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 3:00 pm
Posts: 1816
Location: Austin, TX
Well you could hack into the source code of Hibernate if you wanted to...

Or you could simply utilize the auto-import attribute of the hibernate-mapping element...

http://www.hibernate.org/hib_docs/reference/html/or-mapping.html#or-mapping-s1-2


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 14, 2004 12:56 pm 
Newbie

Joined: Tue Nov 04, 2003 8:38 am
Posts: 2
Steve

It worked fine. The solution was right in front my very nose.

Thank you

Jose Antonio


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 14, 2004 2:48 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 3:00 pm
Posts: 1816
Location: Austin, TX
No problem. Just beware that for non-auto-imported classes you will need to fully qualify the class name during hql queries.


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.