I'm writing a first version with the shortcuts and I'm facing with a "problem".
We have a test class "DatastoreWithStartStoppableTest" which uses a Datastore provider made just for 1 test.
<property name="hibernate.ogm.datastore.provider" value="org.hibernate.ogm.test.datastore.DatastoreProviderGeneratingSchema"/>
I don't think it's a good idea to add a shortcut for this datastore provider. What do you think about this possibility?
Just before the "shortcut process" we check if the property starts with "org.hibernate.ogm.test" and if it's the case we instantiate by using the FQDN of this class instead of trying to resolve the shortcut.
I'm writing a first version with the shortcuts and I'm facing with a "problem".
We have a test class "DatastoreWithStartStoppableTest" which uses a Datastore provider made just for 1 test.
<property name="hibernate.ogm.datastore.provider" value="org.hibernate.ogm.test.datastore.DatastoreProviderGeneratingSchema"/>
I don't think it's a good idea to add a shortcut for this datastore provider. What do you think about this possibility?
Just before the "shortcut process" we check if the property starts with "org.hibernate.ogm.test" and if it's the case we instantiate by using the FQDN of this class instead of trying to resolve the shortcut.