Android Best Database Framework Ormlite analysis (with timeline diagram and own demo) __ Database

Source: Internet
Author: User
The last few days of research on Android's persistence, a total of three frames have been studied, one is Ormlite, one is Hadi, and one is called Prueba

One of the most mature is ormlite, but also the most complex. The current version is 4.3.1

The second Hadi is a fairly simple overview of an open source framework, read all the code, simple and straightforward, but some bugs need to be fixed. For example, after inserting the object did not requery, if the inserted record has more than one default value, it will throw the interrupt

Three Prueba not how to study, using the demo, you need to configure a locked XML, identify a table, a field is from which version of the start, and automatically generate SQL statements


The final choice is ormlite, drawing a sequence diagram, wrote a multiple table query demo.


The sequence diagram is directly on the first one is created and the second is the query




Demo's download Address: http://download.csdn.net/detail/gdp2852/4023724

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.