Hello @shchienko
We are implementing DataStore and StoreDescriptor interface, by creating a custom datastore for our MongoDB.
@Component("myDbMongoStoreDescriptor")
public class ProductsMongoStoreDescriptor implements StoreDescriptor {
@Override
public String getBeanName() {
return "myDbMongoDataStore";
}
@Override
public boolean isJpa() {
return true;
}
}
@Component("myDbMongoDataStore")
@Scope(BeanDefinition.SCOPE_PROTOTYPE)
public class CustomMyDbMongoDataStore implements DataStore {
protected final List<DataStoreEventListener> listeners = new ArrayList<>();
public static final String LOAD_TX_PREFIX = "JpaDataStore-load-";
public static final String SAVE_TX_PREFIX = "JpaDataStore-save-";
........
I have given the Mongo base implementation for our Mongo DB integration and will provide the code file reference if needed.
But my main concern is related to mySQL where default implementation of datastore not changed for mySQL, the listing page of my mySql based listing is not loading for the first time when we are logging but when we are navigating from mongo based listing to mySql based listing, dataloads.
I hope you understood my issue.
Thank You…