Android app and myBatis

I want to use myBatis (iBatis 3) in an Android app. Has anyone tried such a thing or knew of any resources for this?

+7
source share
4 answers

aBatis is a data display platform available for Android
which associates objects with stored procedures or
SQL expressions using an XML descriptor or annotations.
aBatis is similar to the Android equivalent of iBatis.

--- simple and easy ORM library like iBatis for web development
- ibatis feature support
- easy to use like iBatis
- Shorten the development period
- does not depend on the development phase
--Android sdk1.6 and higher

http://sonixlabs.com/abatis/

+5
source

The first thing to do is to compile myBatis for Dalvik. But it can be too hard for a device such as a smartphone.

If you are looking for an easy save layer, you can look at Ammentos:

http://www.ammentos.org/

Same problems: you will need to compile it for Dalvik.

Existing ORM for Android:

http://ormlite.sourceforge.net/sqlite_java_android_orm.html

https://www.activeandroid.com/

+4
source

It is better to use light libs in Android applications such as greenDAO or Ormlite, greenDAO is an open source project that will help Android developers working with data stored in SQLite. SQLite is an amazing built-in relational database. However, development for this requires a lot of additional work. Writing SQL and analyzing query results are quite tedious tasks. greenDAO will do the work for you: it maps Java objects to database tables (often called ORMs). This way you can store, update, delete, and query Java objects with a simple object-oriented API. Save time and focus on real issues! Primary design goals greenDAOs

  • Maximum performance (arguably the fastest ORM for Android)
  • Easy to use APIs. High optimization for Android. Minimum memory. consumption
  • The small size of the library, focuses on the main functions.
+1
source

I am creating a simple project for Android using mybatis

check this out: https://github.com/gustaroska/HijrDroid

-one
source

All Articles