i'm proud to present: a bug i found.
it's easliy reproducible. just map a property, for example:
Code:
private String foo;
public void setFoo(String foo) {...}
public String getFoo(String foo) {...}
so far, everything is fine. but now add
Code:
public boolean isFoo() {...}
hibernate gets confused. especially at
AbstractEntityTuplizer:249
a boolean is returned - no matter what type is defined in the mapping file. it seems, using type1 isX() and type2 getX() should not be used together.
renaming the method fixed the problem.