Questions tagged [data-persistence]

256 questions
2
votes
1 answer

Android Activity Lifecycle and Singleton and mutual references persistance (memory leaks)

As I understand a singleton cannot be expected to hold persistent data in Android apps because an app may get destroyed and recreated several time in the app's "apparent lifecycle". This in itself is not a problem for me. The problem comes with what…
Rene
  • 260
  • 2
  • 10
2
votes
2 answers

Is there any Java blocking queue that can save data to hard drive when limit is reached

I know that I can use JMS and ActiveMQ, but I really need something very simple and without a lot of overhead. I did some test with ActiveMQ and didn't really liked a performance of persistence queues. What I'm looking for is basic implementation of…
Alex
  • 125
  • 1
  • 8
2
votes
2 answers

how to save and retrive a list from a file in Python?

I searched for a way to save variables into a file (making them persistent for other computations). I found some solutions like: https://stackoverflow.com/a/899199/1846113 but when I implemented it on a list like: import pickle list =…
dbonadiman
  • 267
  • 2
  • 8
2
votes
1 answer

Saving image persistently in within App - iOS

Trying to select image using photo picker and save that image internally in apps folder. - (void) imagePickerController: (UIImagePickerController *) pickerdidFinishPickingMediaWithInfo: (NSDictionary *) info { NSString *mediaType = [info…
Z.O.
  • 395
  • 1
  • 4
  • 12
1
vote
1 answer

Binding a Winform to a Dictionary or Key/Value List

I have a Winforms application that dynamically instantiates external form objects for use in a configuration UI. Each dynamically-instantiated form is placed in a TabPage. I would like to create a property that will accept a Dictionary or Key/Value…
Robert Harvey
  • 178,213
  • 47
  • 333
  • 501
1
vote
1 answer

making Func<> delegates persistable in windows phone 7

I am developing an application for windows phone 7.I want to make my application persist-able so that I can restore my application after restart. but the problem is that I have some func<> delegates members which are ,dynamically pointing to some…
rakesh
  • 602
  • 1
  • 5
  • 23
1
vote
3 answers

Data Persistence with jqMobi

Well, I've sorted through the Google search and I've sorted through stack overflow and as of yet I don't have a good idea of how to do about this. I'd like to build a To Do program for the iphone using jqMobi + CSS + HTML 5. I've worked with jQuery…
Rift
  • 11
  • 1
  • 4
1
vote
0 answers

Why is unique keyword in column definition causes IntegrityConstraintViolationException when trying to update entity

I have a really simple project using Spring Data JPA with Hibernate consisting of: Movie Entity: @Entity @Table(name = "MOVIES") @NoArgsConstructor @RequiredArgsConstructor @ToString(exclude = {"directors", "writers", "reviews"}) public class Movie…
1
vote
1 answer

Persistance storage for UIVIew

I am creating dynamically some "n" number of UIView Object in my application.I can able to drag, drop these objects to any position in the screen & chenge change their some of property .Now i want to save all these details with persistance storage…
user930195
  • 432
  • 1
  • 5
  • 19
1
vote
0 answers

Python Session and Cookies

Hello dear Stack users, I am trying to login to a webservice via json exchange and trying to implement the auth mechanism as you can see here import requests class Testauth(requests.auth.AuthBase): """Implements a custom authentication…
1
vote
1 answer

Application Data Persistence Framework/Library?

Our Java desktop application is managing several text files as edited by the users. Currently, those files are saved into the file system using in-house Java code. We'd like to move away from this and use an existing framework/library instead…
Marc Polizzi
  • 9,275
  • 3
  • 36
  • 61
1
vote
1 answer

Redis elasticache in aws - how to get persistence and keep good latency

I am currently using redis cluster with 2 node groups and a replica per node. I chose to use redis because of the high performance. I have a new requirement to have persistent storage of the data in redis. I want to keep the good latency redis gives…
1
vote
1 answer

Why to use Cloud Functions on Firestore triggers - Firebase

Why using cloud functions to respond to database changes, when in Firestore there's data persistence? This means each change in the database performed from the client, even when made offline, is saved and performed when the connection is back. I…
1
vote
2 answers

How Do I Save an Array of Objects to NSUserDefaults?

I was wondering how to save an array of objects to a NSUserDefault. I've read about encoding the data array, but was unsure about how the process works. This is my array: //EventData class with EventDataArray class EventData { static var…
1
vote
2 answers

Storing List Variable on change

I am learning Flutter currently and was making a personal finance app. I have the option to bookmark my guides and then view them on the bookmark tab. Right now, I am using a list to simply store names of guides and display them as list tiles. The…
Shiv Patel
  • 23
  • 6