Is it possible to have a @CollectionOfElements which is a Map? Using JBoss 4.0.4.GA:
@CollectionOfElements | @JoinColumn(name="blahId") | @MapKey(name="foo") | Map<String, Thing> things; | | (Thing is @Embeddable) Gives me: org.hibernate.AnnotationException: Associated class not found: com.kink.heart.entity.Thing | at org.hibernate.cfg.annotations.MapBinder.bindKeyFromAssociationTable(MapBinder.java:95) | at org.hibernate.cfg.annotations.MapBinder.access$000(MapBinder.java:55) | at org.hibernate.cfg.annotations.MapBinder$1.secondPass(MapBinder.java:78) | at org.hibernate.cfg.CollectionSecondPass.doSecondPass(CollectionSecondPass.java:35) | ... If I change the collection type to Set, everything works. Is Map not supported? Will it be in the future? Thanks, Jeff View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959387#3959387 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959387 _______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
