黑莓 - 数据持久性O.S 4.5 [英] Blackberry - data persistence O.S 4.5

查看:125
本文介绍了黑莓 - 数据持久性O.S 4.5的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是黑莓发展的新手。我想为一个小项目做数据操作(CRUD)。你能帮助我理解不同的选项,可以用于黑莓数据持久性O.S 4.5?我想知道和探索所有可能的数据持久性模型为黑莓O.S 4.5。

I am new to blackberry development. I want to do data manipulation (CRUD) for a small project. Can you help me understand different options that can be used for blackberry data persistence for O.S 4.5? I want to know and explore all possible data persistence models for blackberry O.S 4.5.

我做了一些搜索,并在持久存储中发现了黑莓数据持久性。我面临的问题是如何更新现有记录。我应该加载所有的对象,并找到所需的对象,删除它,然后插入一个新的记录或有任何其他快速的方式来搜索?

I did some searching and found blackberry data persistence in Persistence store. The problem that I am facing is how to update an existing record. Should I load all the objects and find the required object, delete it and then insert a new record or is there any other quick way to search?

推荐答案

我尝试了 this in work。

I tried this at work.

这是一个帮助持久化对象的库。

This is a library to help with persistent object.

有很多集成的功能,如二叉树,排序等...

It has a lot of integrated functions like binary tree, sorting, etc...

根据我做的测试,它很快,如果你要卖您的软件,许可证的价格低。

It's pretty fast based on the test I've done, and if you are going to sell your software, the licenses price are low.

您的另一个选项是Sybase UltraLiteJ,但我很缓慢,但它支持SQL语言。

Your other option is Sybase UltraLiteJ, but I's pretty dam slow, but it supports SQL language.

或者你自己编写一个基于BlackBerry持久化对象的好的实现,你可以在其他应用中使用。

Or you code yourself a nice implementation based on the BlackBerry Persistence Object that you could use in your other apps.

这篇关于黑莓 - 数据持久性O.S 4.5的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆