Re: [hibernate-dev] Attribute converters and dirty checks

2016-01-07 Thread Gunnar Morling
2016-01-07 15:25 GMT+01:00 Steve Ebersole : > Well first you ask for this as an "optimization", but this is not an > optimization... it is a change in expectation. In fact it is probably less > optimized (performant) to do what you ask. I'd personally hate to add > performance overhead to everybo

[hibernate-dev] Attribute converters and dirty checks

2016-01-07 Thread Gunnar Morling
Hi, I have an entity with an attribute whose value is converted by means of an attribute converter. The converter operations are not symmetric, i.e. it's not guaranteed that value.equals( convertToEntityAttribute( convertToDatabaseColumn( value ) ) ) is true. Question 1: Is such converter v