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

查看:97
本文介绍了黑莓 - 数据持久性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 is a library to help with persistent object.

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

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

它的快速根据测试pretty我已经做了,如果你要出售的软件,许可证的价格是很低的。

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,但我的pretty坝慢,但它支持SQL语言。

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

或者你code自己的基础上,你可以在你的其他应用程序使用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天全站免登陆