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
Highlighted
Developer
Posts: 147
Registered: ‎09-10-2008
My Device: Not Specified

Question in Persistent Objects

1. I want to know how to give the long Number in the Persistent creations.

Ex:

PersistentStore.getPersistentObject ("LongNumber") How to give the UNIQUE ID for the Persistent long Number?

 

2. Is it possible to create multiple Persistent objects by the same number or I need to have a different persistent ID's?

Where can I find the Persistent ID?

 

3. Is there any search option for finding particular Data from the vector without using index?

 

 

 

Developer
Posts: 562
Registered: ‎09-30-2009
My Device: Not Specified

Re: Question in Persistent Objects

1. Pick one.

 

2. Yes, pick as many IDs as you like.

 

3. Is http://www.blackberry.com/developers/docs/4.6.0api/java/util/Vector.html#indexOf(java.lang.Object) of interest?