BlackBerry Forums Support Community

BlackBerry Forums Support Community (http://www.blackberryforums.com/index.php)
-   Developer Forum (http://www.blackberryforums.com/forumdisplay.php?f=15)
-   -   Persistent object (http://www.blackberryforums.com/showthread.php?t=204711)

OttoKruger 09-19-2009 10:51 AM

Persistent object
 
How many persistent objects can I have per application?

I'd like to have one for keeping images and another for keeping other data. Is it possible or only one is allowed?

Thanks.

Dougsg38p 09-19-2009 11:41 AM

I have an app that uses one for the database, another for properties, so guess you can have at least two.

Each needs its own hash ID.

OttoKruger 09-19-2009 09:09 PM

I did the same thing but I was not sure if it is correct.

Thanks,

Otto:smile:

ptys 09-22-2009 03:56 PM

The limitations that I've heard of are
-the global maximum number of object handles (I think it's 64k). Each persistent object takes up one handle. You can group objects to save handles. One group takes up one handle.
- the maximum size of one persistent object or group - 64kb.

Quote:

Originally Posted by OttoKruger (Post 1474155)
How many persistent objects can I have per application?

I'd like to have one for keeping images and another for keeping other data. Is it possible or only one is allowed?

Thanks.



All times are GMT -5. The time now is 07:03 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.