Questions tagged [data-persistence]
256 questions
1
vote
1 answer
How to Update existing data in Oracle through using Hazelcast persistent store
Following the examples from Hazelcast reference manuals on Loading and Storing persistent data, we can implement a mapstore to store (insert) data to Oracle-DB.
However there is no specific interface from Hazelcast that would allow us to do an…

Tarun Patel
- 243
- 9
- 22
1
vote
1 answer
html5 canvas "graphics persistence" on reposition/resize
I noticed that when you move a canvas around or when you resize it, everything inside gets erased. I remember having a similar problem in windows forms applications in C#.
Anyway, what's the best way to keep the graphics on canvas, even after it…

Spectraljump
- 4,189
- 10
- 40
- 55
1
vote
2 answers
Must call a designated initializer of the superclass 'Day' error
In my app i tried to make saving data with data persistence but i get this error:
Must call a designated initializer of the superclass 'Day' error.
Here is my code:
class Day: NSObject, NSCoding { // NEMA NSCODING I NSOBJECT
var dayName: String
var…

Blockchain Developer
- 89
- 2
- 12
1
vote
1 answer
Empty array when loading data in Swift 3
I'm new to swift and was trying to teach myself data persistence using Apple's "App Development with Swift" iBook. I'm trying to create and store an array of students that I can then recall later on. The issue is, when I try to reload them, the…

DeanLobo
- 13
- 2
1
vote
1 answer
Why can't I connect to database with JPA?
UserEntity:
package model.entity;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
@Entity
@Table
public class…

lukaszP
- 45
- 12
1
vote
1 answer
Spring Cassandra Operation with If Clause
I am trying Cassandra with Spring
I have the Table and Persistence Object, Works Well.
With Cassandra (CQL script) I can make a sentence with: update ...,set ..., where, .. if ..,
My question is If I can use Spring Cassandra Operation…

jrey
- 2,163
- 1
- 32
- 48
1
vote
2 answers
Reset CouchDB completely
For the purposes of unit testing, I'd like to be able to completely remove documents and databases from a CouchDB instance running on my mac. Deleting the standard way isn't really a reset, which is not ideal for unit tests. I need to completely…

Luke Taylor
- 8,631
- 8
- 54
- 92
1
vote
0 answers
Firebase realtime database data persistence #AskFirebase
I've implemented Firebase Realtime Database in my android app with data persistency. My expectation was that, as data persistence was active, each time my app was open, Firebase would not check for database updates.
Anyway, according to my tests, I…

Rubin Luiz
- 11
- 2
1
vote
1 answer
C# 2 versions of same MDF file
I have MDF file which i use as DB and connecting to it using Linq-to-SQL.
my connection string is:

Jynxed
- 19
- 6
1
vote
2 answers
Is it possible to save html element changes offline in NW.js?
I am working on an simple app which allows user to upload images and videos while doing so automatically generates a < div > for each content that was uploaded and wraps it. Each uploaded picture stays next to the previous one specially…

nxsm
- 13
- 1
- 2
1
vote
1 answer
Entity Framework entity splitting one to many
We are trying to use EF as a Business Entity Mapping model. Instead of generating 1 table per class we would like to flatten out the tables (entity splitting) and generate a business object for the class, letting Entity Framework handle the CRUD.…

gh9
- 10,169
- 10
- 63
- 96
1
vote
1 answer
What's the best approach to persist form data using Struts 2?
I am developing an application using Struts 2 and Hibernate.
On a JSP page I have one form in which all CRUD operations I am performing. I want my Form data to be persisted, which is temporarily entered in the form fields.
One approach which I…

Rish
- 1,303
- 9
- 22
1
vote
1 answer
Store Data and Access and update it from Memory after execution in C++
I have a question on how to use persistance in C++ without using STL. I want to store some history of calculation in memory and update it with new calculations whenever the program is called. I cannot use static storage class as after execution, the…

user437777
- 1,423
- 4
- 17
- 28
1
vote
1 answer
Does iphone 4 have automatic data persistence?
I loaded some app projects that I had been developing using the iPhone 3.1.3 Simulator. Now I got the 4.0 package, and for some reason when I hit the home button of the simulator to go the home screen and then go back to the app, it's in the same…

marty
- 391
- 1
- 7
- 15
1
vote
4 answers
Keep an activity/activities alive while the app is open in the background
Hey guys I'm brand new to this site, I know people get put down a lot for asking duplicated questions so I hope this isn't one of them.
As well as this site, I am new to android programming and have created a simple app for calculating a price…

Stephen Miller
- 174
- 1
- 1
- 13