-->
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.  [ 3 posts ] 
Author Message
 Post subject: Need help with entity-name
PostPosted: Mon Apr 10, 2006 10:14 am 
Beginner
Beginner

Joined: Mon Dec 26, 2005 3:29 pm
Posts: 23
Hi. Is it possible to map the same class twice - once using entity-name and once leaving it blank? In other words, say I want to map class A thrice, can I leave one mapping blank and give the other two specific names? The point would be that calling session methods without an entity name would use the default (no-name) mapping.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Apr 10, 2006 11:50 am 
Expert
Expert

Joined: Thu Sep 22, 2005 10:29 am
Posts: 285
Location: Almassera/Valencia/Spain/EU/Earth/Solar system/Milky Way/Local Group/Virgo Supercluster
Have you read 5.3. Mapping a class more than once?

SORRY BUT HAVE YOU READ HIBERNATE REFERENCE INDEX?


Top
 Profile  
 
 Post subject:
PostPosted: Mon Apr 10, 2006 12:21 pm 
Beginner
Beginner

Joined: Mon Dec 26, 2005 3:29 pm
Posts: 23
Yes I have read 5.3. That shows on ly the use of two explicit entity-names. What is the Hibernate Reference Index?


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 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.