Android中内置了sqlite,但是常用的开发语言java是面向对象的,而数据库是关系型的,二者之间的转化每次都很麻烦(主要是我对sql语言不熟悉)。而Java Web开发中有很多orm框架,但是想直接放到Android上用有些麻烦。尝试了一下找Android的orm框架,说实话还有好几个。
实现考虑的是:androrm
说实话,这个我实在没有弄懂,一共两个包。
一个是依赖包:Apache Commons - Lang (2.6)
另外一个就是主包:androrm.jar 不管怎么下载的都不能使用...
然后有考虑了一下db4o
官网上的介绍说是已经支持Android了,但是我一是觉得包有点大,而是觉得速度有点慢