-->
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: Problem with inner classes qualifier
PostPosted: Wed Mar 23, 2005 11:39 pm 
Beginner
Beginner

Joined: Sun Aug 29, 2004 7:21 pm
Posts: 26
Hibernate version: 3.0rc1

With Hibernate 2.x, we could use inner class with their qualified name : my.class$InnerClass

But with Hibernate 3.0rc1, I get an error :
Code:
SEVERE: Exception building Hibernate SessionFactory :
persistent class not known: my.class.InnerClass
org.hibernate.MappingException: persistent class not known: my.class.InnerClass
        at org.hibernate.cfg.Configuration$1.getIdentifierType(Configuration.java:1528)
        at org.hibernate.type.EntityType.getIdentifierType(EntityType.java:216)
        at org.hibernate.type.EntityType.getIdentifierOrUniqueKeyType(EntityType.java:226)
        at org.hibernate.persister.entity.AbstractPropertyMapping.initIdentifierPropertyPaths(AbstractPropertyMapping.java:142)


It seems that the classe's full qualified name's $ is replaced by a dot by hibernate in the configuration's classes map.

This is a problem, as for example XDoclet generates the proper full qualified name.

Any idea ?

Thanks,

Sylvain.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Mar 24, 2005 6:40 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
put a testcase that works in H2 and fails in H3 in jira and we'll look at it.

_________________
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.