Questions tagged [data-persistence]
256 questions
0
votes
2 answers
@OneToOne JPA hibernate Could not determine type for
Could not determine type for:
com.brainstormers.justlearnit.models.UserDetail, at table: users, for
columns: [org.hibernate.mapping.Column(userDetail)]
Here is my User class:
@Entity
@Table(name = "users")
public class User {
private…

Raspberry
- 337
- 2
- 4
- 16
0
votes
1 answer
Persisting data if none exists for a certain key using AsyncStorage
I'm trying to set up a function where I first check to see if I have a value for a certain key, and if I do not, I use the axios library to get a value from the web and persist it as that key's value instead. Here is my code:
async getName() {
…

lmotl3
- 537
- 1
- 8
- 20
0
votes
0 answers
How do you persist an instance that requires user input
I know there's tons of material on sequelize, but my question is very specific and I can't seem to find the answer anywhere. I'm trying to save the inputs of users for my full stack app, onto my database, using the mvc setup
const restaurants =…

Jahaziel Vazquez
- 133
- 2
- 9
0
votes
1 answer
data persistence on mobile clients and synchronisation
Let's assume we want to develop an ionic app client (or an angular app) and we have an existing mysql database in the backend. How would you best synchronize your data in the frontend with the server's database?
Assume the following 2…

Thopras
- 11
- 2
0
votes
1 answer
How to save data in private and can't be deleted by clear data in settings
I know there are couples of way to save data for application in android recommend by Google, such as SharePreference, SQLite, Storage data-storage
But, the data store by those methods will be delete once user clear data in application detail in…

Saint
- 1,492
- 1
- 11
- 20
0
votes
1 answer
Vue datatable row q-input not persisting values of model object
Please refer to the azure link for the built code and github link for the source code. To explain the scenario, I have a q-datatable from Quasar Framework. Since I have nested data, I am populating primary data in a collapsible for loop and…

Taha Rehman Siddiqui
- 2,441
- 5
- 32
- 58
0
votes
2 answers
Java EE 7 + Persistance + Hibernate: Unable to persist data
I am Spring Boot developer that is currently trying to learn a lighter weight solution using Java EE 7 and JAX-RS. I am currently having an issue trying to persist data from my application to my database. Any pointers on what I'm doing wrong are…

adenix
- 420
- 1
- 4
- 10
0
votes
3 answers
Android Firebase: User-specific real-time data is removed when user logs back in
I am using Firebase Google authentication for login, and I had a list of data points associated with a user. The user populates their data by creating elements in a logged-in session, and these update a list in Firebase that is stored under their…

AlleyOOP
- 1,536
- 4
- 20
- 43
0
votes
1 answer
How to access Userdefault in different View Controller
I am planning to save users' preference setting in Userdefalut, the problem is the user's preference setting will be edited in View Controller A, and View Controller B and View Controller C need to read it.
I understand that I can make an instance…

Nan
- 496
- 3
- 21
0
votes
1 answer
Data persistence: Users' default setting and new setting
I am building a project at the moment, if users set the default time is 20 minutes in View Controller A and users need to use this time as a timer in Controller B.
I understand the data can be passed by delegation or notification, etc.
What I am…

Nan
- 496
- 3
- 21
0
votes
1 answer
Writing and reading to a local file with Java RS
I've written a small web application that allows the client to POST values and then GET the sum of those values, using a glassfish server in intellij. I want the sum to persist across service restarts. Currently, the sum is being tracked with a…

FutureShocked
- 779
- 1
- 10
- 26
0
votes
1 answer
Retrofit data persistence
How do I persist the data that has been parsed from the server using Retrofit library. So that users can view it when there is no internet connection.
final RecyclerView recyclerView = (RecyclerView) findViewById(R.id.post_recycler_view);
…

Hemraj Rijal
- 65
- 1
- 2
- 12
0
votes
5 answers
Persistent data in Actionscript 3?
What packages and/or classes do I want to look into when I'm trying to make a Flash program that will run on multiple desktop and mobile platforms and I want to use persistent data?
Edit:
I am working on a program that will allow people to study…

Moshe
- 57,511
- 78
- 272
- 425
0
votes
1 answer
How to persist data without using cookies or database in a Nodejs server
So if any client side storage like cookie and any persistent database are not allowed to be used. How would you persist data from user input in a Node.js server? array is not an option as users should only see their own input. I thought of using…

shangsunset
- 1,585
- 4
- 22
- 38
0
votes
1 answer
Looking for an incremental upload solution (changes only) on iOS
Is there a high-level platform solution for iOS for providing 'changes only' upload to a file. I am currently building app that is using a realm database and this realm file is written to all the time throughout the app's life-cycle. I don't want to…

Ishaan Sejwal
- 660
- 9
- 29