[hibernate-dev] AttributeConverters and AnnotationBinder part 2 : Collections

Steve Ebersole steve at hibernate.org
Sat Sep 21 12:21:20 EDT 2013

After stepping through the code, I can answer the last question.  The 
method simply badly named and element collections route through there 

On Sat 21 Sep 2013 11:19:50 AM CDT, Steve Ebersole wrote:
> So what I did earlier does not work for Collections.  Collections go
> through a very different code path (even ElementCollection which i
> found very odd).  That code does not use the pieces of PropertyBinder
> and SimpleValueBinder that got changed.
> Even more oddly, the only time I see uses of
> PropertyBinder/SimpleValueBinder from collections are for many-to-many
> handling:
> org.hibernate.cfg.annotations.CollectionBinder#bindManyToManySecondPass.
> Or is this just a badly named method that really handles more that
> just many-to-many?

More information about the hibernate-dev mailing list