Questions tagged [persistence]

Persistence in computer programming refers to the capability of saving data outside the application memory.

Filter by
Sorted by
Tagged with
0votes
0answers
8views

What is the default persistence method for Electron apps in Firebase Authentication v9?

In Firebase v8, deleting our Local Storage folder for our Electron app would clear the auth persistence, but now with Firebase v9 clearing I've tried clearing Local Storage, blob_storage, and Session ...
user avatar
  • 7,447
0votes
0answers
15views

Build warning messages in NetBeans

When I clean and build my project in NetBeans 8.2 I get the following warning message in the Output window. I was hoping to get some advice on how to fix it, anybody had a similar issue that knows how ...
user avatar
  • 11
0votes
2answers
111views
+50

React Hook Form and persistent data on page reload

I'm using React Hook Form v7 and I'm trying to make my data form persistent on page reload. I read the official RHF documentation which suggests to use little state machine and I tried to implement it ...
user avatar
  • 367
-1votes
0answers
24views

Eclipse persistence says no primary key defined, but entity has [closed]

I have an issue while publishing that says: Exception Description: Entity class [entity] has no primary key specified. It should define either an @Id, @EmbeddedId or an @IdClass. If you have defined ...
user avatar
0votes
1answer
33views

How to map a jpa result to json

I have this entity package com.example.demo; import javax.persistence.Basic; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Id; import java.sql.Timestamp; ...
user avatar
  • 359
1vote
1answer
40views

Problem manipulating child entity of a OneToMany relation with Cascade ALL

I have a performance problem using bi-directional relationship (OneToMany - ManyToOne). I have an entity Interaction that can have many ClassifiedGroup (see classes bellow for more details) but I have ...
user avatar
0votes
0answers
23views

How do I get the name of the audited table in RevisionInfo using Envers?

Intending to get the name of the table that was audited. Hopefully maybe by taking the object which is sent to revision info before it writes. Is there a way to do that. @Entity @RevisionEntity @Table(...
user avatar
0votes
0answers
26views

Practical example of separating Domain model and Persistence model

Im trying to come up with a simple example where Domain model and Persistence model are separated, but keep hitting several "issues" on how to cleanly design my models. Say I have this ...
user avatar
-1votes
0answers
121views

Redis: Alternative to MONITOR for logging all key/values that are coming into Redis real time?

I would like to log all redis key/values that are written real time into a persistent datastore(mysql). I could use MONITOR but there is a 50% performance hit. https://redis.io/commands/MONITOR I ...
user avatar
  • 1,729
0votes
0answers
27views

Why UiPath Attended Bot (latest Community Edition) does not resume after action completed in Orchestrator?

I created a small demo project with 4 activities on focused on persistence and Action Center (see YouTube example https://www.youtube.com/watch?v=xJcpLTXHUWE). I have implemented UiPath Persistence ...
user avatar
0votes
0answers
21views

Updating server-side data from the client in NextJs tutorial blog

The NextJs tutorial sets up a blog that uses pre-rendering via static generation to read data dependencies (blog posts, in this case) from markdown files, sending this data as props to the page. Very ...
user avatar
  • 77
-1votes
0answers
37views

best way to store business data for short time

I want to store some business data until condition are happen. After condition are fulfilled the data should be deleted. The data must be persistence in that period of time. (usually it's happen ...
user avatar
  • 2,701
0votes
1answer
66views

How to save List<List<Object>> list to Shared Preferences Flutter

I have this list: List<List<GraphInfo>> list = [ [ GraphInfo(title: 'Graph 1', xAxis: "10", yAxis: "15"), GraphInfo(title: 'Graph 1', xAxis: "15", ...
user avatar
1vote
1answer
18views

Mongo Persistence NOT Retaining Data on K8S Cluster After Reboot

I have created my own k8s cluster using Kubeadm with two Ubuntu virtual servers - one master and one worker node. I also deployed a Springboot app with MongoDB persistence and it works absolutely fine....
user avatar
0votes
0answers
20views

Dynamic JPA Specification results in QuerySyntaxException: Invalid path: 'generatedAlias1.schedule'

I am trying to build a generic way for filtering my data with Specifications. The idea is that specifications are automatically build based on input from a user (for example search criteria). As i ...
user avatar
  • 41
0votes
0answers
17views

Unable to build Hibernate SessionFactory - InaccessibleObjectException

I want to make a Dao unit test to test my class BasicDao. I try to create an entity Student1 in a memory db. I make a simple entity with a simple table with one field. But I have an error message that ...
user avatar
0votes
1answer
18views

How to do the mappings for joins with OR conditions using Hibernate

I am trying to do the mappings and trying to write a non-native HQL query by joining the 4 tables. The logic is written in stored procedure, but we want to migrate it to hibernate/JPA. I am unable to ...
user avatar
0votes
1answer
38views

what are the options to implement distributed persisted atomic counters? is redis the best option or is there any other technology that can utilized?

I wanted to implement a global distributed persisted atomic counter. The only option that came to my mind is to use Redis incr() but since redis doesn't provide persistence and when the redis cluster ...
user avatar
0votes
0answers
30views

How to pass null parameter to JPA Native Query

I have following class that updates one and only one parameter of specific object leaving rest untouched: public class Updater { private final EntityManager em; private final ResourceLoader ...
user avatar
  • 15
0votes
0answers
82views

Unknown SAXException: Requested schema is not found in local repository

I try to connect my Maven app with my DB with GlassFisch server. I also tried MySql and Postgres, but I got the following error by deploy: Exception Occurred :Error occurred during deployment: ...
user avatar
0votes
0answers
18views

How to Achieve Data Persistence Across Browsers

I'm using ReactJS to build a web app, so I'm specifically interested in a resolution that I can apply to the ReactJS library. But I suppose this question could apply to web development generally. I am ...
user avatar
  • 450
1vote
1answer
76views

Java entity, driver manager is not initialized

I can't resolve Java entity, driver manager is not initialized in 3 days and I'm stuck. I would like to add (create) objects using the entity manager to a table in MySQL (an online database). I ...
user avatar
0votes
0answers
50views

@DataJpaTest failing when converted to Java Modules

I have tried everything and am pulling my hair out which is really bad because I don't have much left :P I have a multimodule maven project which I am modularizing (Java modules). I have several ...
user avatar
0votes
1answer
46views

Scope/persistence of data issue

I'm not sure what to search for to solve this one. I have a scope/persistence of data issue, where a variable used to populate my data structure is over-writing other items in the data structure (...
user avatar
  • 3,130
0votes
0answers
12views

How can I persist a selected value from a create product form?Node js

Im trying to validate a form to create a "new product", but I need that all body info persist if somebody send the form but have errors. The only input that I cant persist yet it's the "...
user avatar
0votes
0answers
11views

Hibernate setting referensing column to null

I am migrating to a new empty database. When I try to persist an entity in the new database where one column in the new entity has a foregnkey to another table in a M:1 relation Hibernate tries to ...
user avatar
1vote
0answers
20views

Persist changes immediately without save button in Xamarin.Forms apps

In Powerpoint Online for instance, you don't need to explicitly save your changes anymore. It's done automatically. Is there a best practice for accomplishing the same behaviour in a Xamarin.Forms app ...
user avatar
  • 3,084
0votes
1answer
28views

persist state after page refresh in React using local storage

What I would like to happen is when displayBtn() is clicked for the items in localStorage to display. In useEffect() there is localStorage.setItem("localValue", JSON.stringify(myLeads)) ...
user avatar
0votes
0answers
20views

Java Persistence - Create extendable class for reusable columns [duplicate]

I want to use Java Persistence to create multiple tables that share a subset of columns but can't figure out the magic syntax. @Data @NoArgsConstructor public class SubClass extends Auditable { @...
user avatar
  • 374
0votes
0answers
29views

How to build criteria to specify multiple values like operator IN in SQL does?

I need to build criteria like this SQL syntax shows. Multiple choice for category name but it can differ in number.I have done it using CriteriaBuilder or but it doesn't look pretty and in my example ...
user avatar
  • 1
0votes
1answer
56views

Set value of persistence.xml file with properties.config file

I want to set the values of my persistence.xml file with the values from my properties.config. Is there any way to do this? Like any buildin function? I think to a function like factory....
user avatar
  • 33
0votes
1answer
27views

Is Samsung still not persisting foreground services?

I check back about every six months to ask this question. Have yet to get an answer. Some time ago Samsung stopped persisting foreground services yielding hundreds if not thousands of Android apps ...
user avatar
  • 3,445
0votes
0answers
31views

Hibernate does not insert the information into the database

I'm trying to sort of login with JPA and hibernate. The truth is that I'm new to working with hibernate and I don't know what I'm doing wrong. I have two entity classes (User and Credential), and I ...
user avatar
0votes
0answers
59views

Persisting React Context State to IndexedDB

I am currently transitioning from persisting my React Context State from localStorage to IndexedDB. The reason being I've hit the 10MB limit already and thus ran out of space. Currently persisting the ...
user avatar
-1votes
1answer
24views

Mixing parent and child managed object contexts down a view hierarchy

I'm using Core Data to persist data in my app, and have a question about mixing parent and child managed object contexts down a view hierarchy. For simplicity, let's say my app allows users to create ...
user avatar
2votes
1answer
69views

Springboot upgrade from 1.x to 2.3.x MySQL performance issue

Trying to upgrade Springboot from 1.x/java8 to 2.3.x/java 11(AWS Corretto 11) MySQL: Aurora Connectionpool: tomcat datasource Issue: with the upgraded version DB CPU go very high and DB connections ...
user avatar
  • 21
0votes
0answers
11views

No persistence exception translators found in bean factory. Cannot perform exception translation. (spring 2.1.13.RELEASE)

When start my project, the error comes up. It has nothing to do with hibernate, just run the project which is new created.
user avatar
0votes
1answer
33views

How to implement vuex persistence for nuxt.js?

Nuxt version: 2.15.8 I am not initializing vuex the traditional way with Vue.use(Vuex) and new Vuex.Store. Instead I am doing the nuxt.js way, https://typescript.nuxtjs.org/cookbook/store/#basic-...
user avatar
0votes
1answer
43views

Is Neo4j Doc Manager still functional?

I have to do an assignment with multiple databases, and I was thinking in polyglot persistence between MongoDB an Neo4j. I have seen some of the documentation for the Neo4j doc manager, and the last ...
user avatar
0votes
0answers
17views

Does Spring jpa pessimistic/optimistic locking on row apply to other applications accessing the table row

I have appA doing a table access with write lock on a row. While it is holding the lock, Would another appB deployed on another server be able to update the same row. OR My sql client (say sqlYog) be ...
user avatar
  • 23
0votes
1answer
40views

Is there a persistency layer for list/queue containers?

Is there some kind of persistency layer that can be used for a regularly-modified list/queue container that stores strings? The data in the list is just strings, nothing fancy. It could be useful, ...
user avatar
  • 1
0votes
2answers
78views

Why is Hibernate not creating many-to-many join tables?

I am trying to get Hibernate to create a many-to-many relationship join table. The entity tables are created just fine, but the join table won't show up. Some source create the join table by hand, ...
user avatar
2votes
1answer
140views

How do you save a custom python class object in Azure Databricks?

I have written a python class for preprocessing data before classification modeling. I built it with sklearn style fit/transform functionality wherein lies the rub. After having fit the class object I ...
user avatar
0votes
1answer
21views

How long device will keep data if It does not come online

I like the idea of Firestore persistence. If a write is done on Flutter Application to a Collection, but application has no internet access. I understand that it will be written to firestore when ...
user avatar
  • 343
0votes
0answers
21views

Public Database not accessible by admin role - Core Data with swiftui on iOS15

I am using Core Data with swiftui on iOS15. I am creating/reading/writing data on both private and public databases. Private database works as expected. All users can write to public database. I need ...
user avatar
0votes
3answers
31views

How to use MDriven OclPs to find all objects matching a list of strings?

In an application I receive a list of strings. Then I want to use OclPs to find all objects where a specific attribute equals any of the strings in the list. E.g. if we have Person objects and receive ...
user avatar
  • 1,163
0votes
1answer
90views

Web firebase keep user signed in

I am using firebase auth for my web application. It seems that after a user has signed in, their session is only persisted for about an hour, then after they come back to the website or reload the ...
user avatar
  • 15
0votes
1answer
49views

Different Data Models in In-Memory Cache and In Persistence Layer in Apache Ignite Data Grid

In apache ignite data grid, it has read-through and write through features that means if I update anything in in-memory layer, eventually the update will be written in persistence layer. It works ...
user avatar

15 30 50 per page
1
2 3 4 5
100