now it is hibernate3 compatible