Yes, you can. You just need to combine C++ PutGet example and ODBC example, where from C++ you take a part that puts data in cache, and from ODBC you take the querying part.
Best Regards, Igor On Wed, Apr 8, 2020 at 6:32 PM Anthony <harter...@gmail.com> wrote: > Hello llya, > > I guess I may not describe my question more clearly. In the example you > gave me, > https://github.com/apache/ignite/blob/56975c266e7019f307bb9da42333a6db4e47365e/modules/platforms/cpp/examples/put-get-example/src/put_get_example.cpp, > Can I retrieve the data from the cache using ODBC? > > Regards, > > Anthony > > On Tue, Apr 7, 2020 at 4:11 AM Ilya Kasnacheev <ilya.kasnach...@gmail.com> > wrote: > >> Hello! >> >> Please take a look at this example, it will store Organization from C++: >> >> https://github.com/apache/ignite/blob/56975c266e7019f307bb9da42333a6db4e47365e/modules/platforms/cpp/examples/put-get-example/src/put_get_example.cpp >> >> Some additional configuration will be needed to access data using SQL: >> https://apacheignite-cpp.readme.io/docs/cross-platform-interoperability >> >> https://www.gridgain.com/docs/latest/developers-guide/SQL/sql-key-value-storage >> >> Regards, >> -- >> Ilya Kasnacheev >> >> >> вт, 7 апр. 2020 г. в 02:08, Anthony <harter...@gmail.com>: >> >>> Hello, >>> >>> For the following example, instead of storing the "Person" using ODBC, >>> is it possible to build the "Person" in c++ and store to in the server? >>> >>> I still want to use ODBC to retrieve the data. >>> >>> >>> https://github.com/apache/ignite/blob/56975c266e7019f307bb9da42333a6db4e47365e/modules/platforms/cpp/examples/odbc-example/src/odbc_example.cpp >>> >>> >>> Thanks, >>> >>> Anthony >>> >>