Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Developer
Posts: 98
Registered: ‎08-17-2010
My Device: BlackBerry 8300 simulator
My Carrier: Vodafone
Accepted Solution

What is better to use either database or persistence.

Hello friends,

I have a doubt related to usage of database and persistence.

I am working on a application based on OS_v5.0, I can use either database to store my data or persistence.

So which one will be better to use as memory and speed perspective.

 

Thanks 

Regards,
Ajit Sharma
Developer
Posts: 19,636
Registered: ‎07-14-2008
My Device: Not Specified

Re: What is better to use either database or persistence.

There is no right answer here.  The critical factors include

a) The structure of the data - is it Objects or Rows

b) The size of the data,

c) How the data is to be used

d) How much coding effort you are willing to put in.

 

You need to weigh all of these factors up before making a decision.

 

Perhaps you can give some indication in each of these areas and we can suggest which way we would go?

Highlighted
Developer
Posts: 98
Registered: ‎08-17-2010
My Device: BlackBerry 8300 simulator
My Carrier: Vodafone

Re: What is better to use either database or persistence.

Thanks for your replay.

Regards,
Ajit Sharma