BlackBerry Forums Support Community
              

Closed Thread
 
LinkBack Thread Tools
Old 04-19-2009, 11:15 AM   #1 (permalink)
Knows Where the Search Button Is
 
Join Date: Mar 2009
Location: Bilbao
Model: 8900
PIN: N/A
Carrier: Vodafone
Posts: 29
Post Thanks: 0
Thanked 0 Times in 0 Posts
Question Problem with persistence in simulator

Please Login to Remove!

Hi,

i need to store some object in persistence (differents class).

It seems to work perfect with the first that i create, but the second disappear from persistence when i start for the second time the simulator.

Two classes are similar, and i debug the application and i see that i store both object (i try to store and then load) but the second time, i can restore the first but not the second

The only different thing is in the out of simulator. For the second object i see this
VM:NPOEr=0x86676000,t=foo.MySecondPersistableObjec t
VM:NPORr=0x7D790000,t=<array-piece>
VM:NPOLv=1,w=0

any idea?
Thanks
Offline  
Old 04-20-2009, 09:04 AM   #2 (permalink)
Talking BlackBerry Encyclopedia
 
Join Date: Apr 2008
Location: Germany, BW
Model: -
PIN: N/A
Carrier: -
Posts: 310
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

any code?
__________________
Blessed is the end user who expects nothing, for he/she will not be disappointed. (Franklin's Rule)
Offline  
Old 04-26-2009, 04:51 PM   #3 (permalink)
Knows Where the Search Button Is
 
Join Date: Mar 2009
Location: Bilbao
Model: 8900
PIN: N/A
Carrier: Vodafone
Posts: 29
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

hi, i find the problem: in my persisten object i use another object that not implemented the persistable interface...
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

1pcs New Omron photoelectric switch E3S-AR61
$169.0
1pcs New Omron photoelectric switch E3S-AR61 picture2Pcs New CNTD C523A Toggle Switch DPDT 3 Position ON/OFF/ON 15A 250VAC
$10.3
2Pcs New CNTD C523A Toggle Switch DPDT 3 Position ON/OFF/ON 15A 250VAC pictureC65N 3-Pole C4A AC400V 4A Miniature Low-voltage Circuit Breaker Switch DH
$12.96
C65N 3-Pole C4A AC400V 4A Miniature Low-voltage Circuit Breaker Switch DH picture1PCS C65N 3P C4A Air Switch AC 400V 4A Low-voltage Miniature Circuit Breaker DH
$11.21
1PCS C65N 3P C4A Air Switch AC 400V 4A Low-voltage Miniature Circuit Breaker DH pictureC65N 3P C4A Air Circuit Breaker Switch 400V AC 4A Miniature Circuit Breaker GL
$11.1
C65N 3P C4A Air Circuit Breaker Switch 400V AC 4A Miniature Circuit Breaker GL picture






Copyright 2004-2016 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.