In OpenXava 3.1.4, SQL queries generated by JDBCTabProvider do not have the correct column name when @AttributeOverride is used. I have done a little debugging, and the 'fields' String in JDBCTabProvider has the incorrect values.
In my scenario, I need to use @AttributeOverride because I am using @Embedded for my Address implementation and I have some entities with multiple addresses (e.g. billing address and shipping address). In that case, Hibernate requires that at least one set of columns needs to use @AttributeOverride to prevent duplicate column names in the generated table DDL.
Javier suggested "There is no test using @AttributeOverride in OpenXavaTest so surely it's a bug."