On Sun, Oct 11, 2015 at 6:14 PM, Edison <[email protected]> wrote: > Sometimes, we use JSON objects directly with persist layer, to avoid the > expense of OR-mapping and fast content change. So I'm trying to override > CacheAbstractJdbcStore to implement this, taking JSONObject as V. Not sure > whether this is a good direction. >
JSONObject is also just a Java object. If you are using Ignite just as a key-value store, then the existing API should suffice. It sounds like you are asking about automatic OR mapping from JsonObject to a relational database. If you have an existing tool that you are currently using for it, you could simply invoke this tool from your CacheStore implementation. You don't need to implement CacheAbstractJdbcStore for it, by the way, you can use the CacheStore interface directly. Will Ignite plan to do this, or there has already been such function? > I think that existing Ignite APIs should suffice for your use case. Can you provide more detail as to exactly what kind of additional functionality you would need? > > > Thank you! > > > >
