The current hack in OgmJtaPlatformInitiator#isNeo4j also limits the value of the "hibernate.ogm.datastore.provider" property to String, although other value types (class, instance) would be supported otherwise in the datastore initiator.