Description
Following Ioannis Canellos advice I digged deeper in the code and realised that in DataStoreFactory in the getDatastore with signature using String arguments the keyClass and persistentClass are loaded through ClassLoadingUtils while dataStoreClass try to do so with Class.forName.