changes needed for DataNucleus