adding datastore setting of java config.