开发者

Java DB / Apache Derby with Android

开发者 https://www.devze.com 2023-01-30 16:10 出处:网络
Can I integrate Java DB or Apache Derby in my Android application? Or any inline or embedded database. Can anyone suggest code for it?

Can I integrate Java DB or Apache Derby in my Android application? Or any inline or embedded database. Can anyone suggest code for it? I need some code because i have to make examples, not in theory.

Anyone knows if this databases is supported or not?

I开发者_运维问答 thinks these are the inMobile DB, but i didn't find any related information in Google.


Sorry, Derby does not work in Android. See this issue for some more details: https://issues.apache.org/jira/browse/DERBY-4458


Android includes SQLite, so this is normal choice.

There is an embedded Java database that supports the Android platform: the H2 database. However, support for Android is relatively new, and you probably shouldn't use it, unlike you really need features that SQLite doesn't support.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号