Great question! There's no OR mapper in Couchbase Lite Android yet. It's a lower priority than getting the rest of the current API "surface area" working correctly and being performant.
It's funny you mention ORMLite, because after doing a survey of the OR mapping frameworks out there, that was the one that seemed the most appropriate to look to in terms of design. One thing I liked is that their annotation based approach doesn't interfere with existing class hierarchies. One problem with OR mapping frameworks is that developers have so many differing/conflicting requirements that it's almost impossible to create one that everyone likes. I'm leaning heavily towards making this a separate module rather than putting it in the core codebase, with the expectation that community members would create forks that better meet their own requirements. Any other requirements/suggestions you have would be great to hear. On Thursday, February 13, 2014, Sascha Lüdecke <[email protected]> wrote: > Hi all, > > is there any OR mapper like (e.g. like ORMlite) library which I can use > with CBLite on Android? > > I would love to get more in touch with CBLite since I like the concept > behind it and the ability to sync with little or no effort. Currently all > my apps are using SQLite as a data storage and ORMlite as an OR Mapper. I > am quite confident with this concept since it provides me java native > datatypes and easy persistence of my object states. Still I would like to > be able to somehow exchange the current OR layer with something suitable > for CBLite. > > Regards, > Sascha > > Disclaimer: I am new to CBLite and this might a noob question (maybe I > have just not understood the power and usage of jackson). > > -- > You received this message because you are subscribed to the Google Groups > "Couchbase Mobile" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to > [email protected]<javascript:_e(%7B%7D,'cvml','mobile-couchbase%[email protected]');> > . > To view this discussion on the web visit > https://groups.google.com/d/msgid/mobile-couchbase/96f12954-2666-4d4b-a5d7-162401586a3c%40googlegroups.com > . > For more options, visit https://groups.google.com/groups/opt_out. > -- You received this message because you are subscribed to the Google Groups "Couchbase Mobile" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/mobile-couchbase/CACSSHCEwtwwQ_9K2vFAcbB%2BKsBQ7AMSZiFMkie6GdH6g_TcDfg%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.
