Questions tagged [data-persistence]

256 questions
0
votes
1 answer

Data Persistence with CoreData

Hi everybody I have a problem using CoreData Persistence, my problem is, when I launch my application I manage to add some data (from a form within the app) to my DataBase and display them with using NSLog. But actually I think all these data…
Bobyblanco
  • 123
  • 12
0
votes
2 answers

python pickle: what is it? when would i use it?

I get the idea that pickle is an object persistence library that lets me write out a data structure to disk, and reload it. Why/when would I do this vs the 'traditional' method of using a text file? EDIT: Actually that isn't a helpful way to phrase…
user774340
0
votes
3 answers

Backbone.js data persistence

If I am building an application with backbone.js, what is the best tool or combo of tools to use for data persistence? So I cannot answer my own question for another seven hours so I am throwing the answer in here: I just found a great link to…
J0NNY ZER0
  • 707
  • 2
  • 13
  • 32
0
votes
1 answer

Save the state of a NSMutableArray with Core Data Entities as content

Scenario: I am fetching different entity objects from my Core Data database and collecting them all into a single NSMutableArray. I have no problem massaging the data in the array and saving back to the Database. I need to save the state of the…
-1
votes
1 answer

Data not save in the database table

I created sample java project and try to save data with JPA. able to connect with the database as well as able to create the related database table(named laptop) as well as. But when i try to save data(Laptop object). Those data not in the database…
ruwan liyanage
  • 419
  • 2
  • 11
  • 24
-1
votes
2 answers

securely persist data

we have a java application running on linux. when the app crashes and restarted- we need to recover ( persist ) a very sensitive information that was stored in previous run ( global static var ). no database allowed ( insecure ) . also it's…
-1
votes
1 answer

How to save CGFloat and Color to realm DB?

I want to use realm to save data but as far as I understand realm does not support CGFloat and Color property, I searched for solution but it seems there is no answer. Saving properties not supported by RealmSwift In documentation said : “CGFloat…
fdvfarzin
  • 1,107
  • 1
  • 4
  • 14
-1
votes
1 answer

saving Set to NSUserDefaults

I am storing a Set into NSUserDefaults with the following code. When I close the app and launch it again it breaks. There is something screwy going on with NSUserDefaults statement, because it works fine if I omit this code. What could be the…
potato
  • 4,479
  • 7
  • 42
  • 99
-1
votes
1 answer

High score data persistence?

I am trying to save a high score for my game. I have a mainscreen activity, a gamescreen activity, and a redirectscreen activity (for when a player loses). Here is a method form the gamescreen activity that runs when a player dies: public void…
Benyam Ephrem
  • 448
  • 6
  • 20
-1
votes
1 answer

Core Data: Relationships and User Objects

I'm using StackMob with CoreData (remote Database), but I think this is a general Core Data question. I have 3 entities: User (login) Cars Bikes Each entity has several attributes. A User can have multiple Cars and Bikes objects (to-many…
-2
votes
2 answers

how can I save and load information in a desktop inventory application C#?

Im developing this desktop app for study reasons but im using SQL Server for database management so reading around the web i find some articles on this and why it is bad practice, i cannot move my entire project to another PC without installing SQL…
RastaBlue
  • 51
  • 2
  • 8
-2
votes
1 answer

Angular 2: Data Persistent

I am new to Angular and have a query regarding data persistent. I have a scenario where I have to persist data. I am on my homepage component where I have a personal details form which is reactive on /personaldetails path. User needs to fill data…
Jay
  • 375
  • 2
  • 5
  • 17
-2
votes
1 answer

how is original value from immutable variable accessed?

Immutable variable: a type of variable that stores it's original version if it is modified. Question: how do I access the older version of that variable in Python? or in Java? or any other languages that support this "persistent data structure?" or…
-3
votes
2 answers

Data persistence Alternative on Android

i would like to ask a recommendation about data persistence on android.. the thing is this: I have a small rest app that get a json data from a RESTful API that is de-serialized with jackson into an custom object and after that i use this object to…
-4
votes
1 answer

I need to use plist for data persistence. How can I store a value from a view controller into a plist and then display that value in a table view?

So when I click "View User Record" button I want to display whatever value of Score and Live of a view controller and store it in a plist as an array. And then those values from the plist will be displayed into the table view
1 2 3
17
18