[hibernate-dev] AttributeConverter and type "hints"

2015-10-03 Thread Steve Ebersole
Reference HHH-9615[1]. The specific request here is to support @Lob together with an AttributeConverter. But other combinations apply as well. So I want to address the more generic case, but let's talk in terms of this specific case. Ultimately the problem is in SimpleValueBinder and the fact t

Re: [hibernate-dev] AttributeConverter and type "hints"

2015-10-03 Thread Steve Ebersole
So here is what I ended up doing concretely and anyone can chime in if this sounds off.. 1) In SimpleValueBinder I added a new field isLob to match isNationalized 2) In SimpleValueBinder#setType, when we see @Lob I: 2.a) set isLob to true 2.b) set SimpleValueBinder#defaultType, rather than SimpleV