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.