Affects Version/s: 1.2.1, 1.3.0, 2.0.0-M2
Fix Version/s: 2.0.0-M3
Environment:Windows XP, Java SDK 1.6, Websphere 6.1 + openJPA 1.2.1
In the following example, the @Version annotated field 'version' does have a wrong type (none of the supported ones).
@Table(name = "PARTNER", schema = "PART")
public class Partner
@Table(name = "PARTNERROLLE")
public class PartnerRolle
This does NOT lead to an error but silently omits the column in any query statements. The prepared statement (prepstmt) simply omitts the column. If the @Version is removed or a supported type like 'long' is used, the behaviour is correct.