Top "Persistence" questions

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

How to know if a detached JPA entity has already been persisted or not?

I have a JPA entity instance in the web UI layer of my application. I'd like to know at anytime …

java hibernate orm jpa persistence
Does static variables in php persist across the requests?

Static variable gotcha in php I am from Java background and have switched to php for one project recently. I …

php static persistence
Is there a way to get all managed entities from an EntityManager

I'm setting up a basic test data util and want to keep track of all the data that the EntityManager …

jpa persistence entity-relationship
Saving and restoring geometries in OpenLayers

Context: I'm a just-hours-old newbie at OpenLayers, please be gentle. Fundamentally, I have a map with some drawn objects on …

json persistence geospatial openlayers geojson
Update an existing JobDataMap

I have a Quartz job that has already been scheduled. I want to update the JobDataMap associated with it. If …

java persistence quartz-scheduler
Postgres in Docker persistent data

I'm running postgres inside a docker container to limit the amount of system resources it has access to. I'm having …

postgresql docker persistence persistent-storage
How do I encode enum using NSCoder in swift?

Background I am trying to encode a String-style enum using the NSCoding protocol, but I am running into errors converting …

swift enums persistence nscoder
@JoinFormula and @OneToMany definition - poor documentation

I have two questions concerning @JoinFormula and @OneToMany annotations: How can I limit the number of result with @JoinFormula and @…

java hibernate persistence
Configuring persistence and orm with JPA 2

I'm having some trouble using Persistence on my jBPM project. My configuration is jBPM 5.4 + Hibernate + JPA 2, and I'm currently setting …

hibernate persistence jpa-2.0 jbpm
Why put a DAO layer over a persistence layer (like JDO or Hibernate)

Data Access Objects (DAOs) are a common design pattern, and recommended by Sun. But the earliest examples of Java DAOs …

architecture persistence data-access-layer jdo dao