I am currently developing an app with GWT/RequestFactory and Hibernate/JPA as a peristence provider.

So I have started to modify my Entity classes, created EntityProxies, put the Version column with the corresponding mapping in orm.xml (sorry for annotations aficionados, I'm still doing it the old way), got hibernate generate database schema correctly but when I try to do things in it i have the exception :

```
@ProxyFor(XXXXX)
public interface UserProxy extends EntityProxy {
    public Long getId();
    public void setId(Long id);
    public Integer getVersion();
    public void setVersion(Integer version);

    // removed ...
}

```

**`"The persisted entity with id XXX has a null version"`**

I have a look at the Database table, the version column is there ... **with a value**

so can somebody tell me what's wrong ? Any help would be appreciated ...

thanks a lot,