Back to project page android-orm-benchmark.
The source code is released under:
Apache License
If you think the Android project android-orm-benchmark listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.littleinc.orm_benchmark; /* w w w . j a v a 2s .com*/ import com.littleinc.orm_benchmark.greendao.GreenDaoExecutor; import com.littleinc.orm_benchmark.ormlite.ORMLiteExecutor; import com.littleinc.orm_benchmark.sqlite.SQLiteExecutor; public class Application extends android.app.Application { private static final boolean USE_IN_MEMORY_DB = true; @Override public void onCreate() { super.onCreate(); SQLiteExecutor.INSTANCE.init(this, USE_IN_MEMORY_DB); ORMLiteExecutor.INSTANCE.init(this, USE_IN_MEMORY_DB); GreenDaoExecutor.INSTANCE.init(this, USE_IN_MEMORY_DB); } }