Top "Persistence" questions

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

Is it possible to detach Hibernate entity, so that changes to object are not automatically saved to database?

I have Hibernate entity that I have to convert to JSON, and I have to translate some values in entity, …

java hibernate persistence
How to store a dictionary on a Django Model?

I need to store some data in a Django model. These data are not equal to all instances of the …

python django django-models orm persistence
What does persistence object means in Hibernate architecture?

Hibernate is a persistence framework which is used to persist data from Java environment to database. I am so confused.. …

java hibernate orm persistence
Best way to save data in Unity game

I was wondering... What's the best way to save data in Unity games. JSONs? If so, how? Thanks

json unity3d persistence unity5 saving-data
Why can't environmental variables set in python persist?

I was hoping to write a python script to create some appropriate environmental variables by running the script in whatever …

python persistence environment-variables
javax.persistence.PersistenceException: Unable to build entity manager factory

When I'm trying to create a new EntityManager to persist my data, i get the following Error: javax.persistence.PersistenceException: …

exception jpa persistence hibernate-entitymanager
Do I have to close() every EntityManager?

I have just started migrating my homegrown persistence framework to JPA. Given that the persistence frameworks hide a lot of …

java jpa persistence toplink
JPA/Hibernate bulk(batch) insert

Here is simple example I've created after reading several topics about jpa bulk inserts, I have 2 persistent objects User, and …

java hibernate jpa persistence openjpa
How can you replicate Hibernate's saveOrUpdate in JPA?

In JPA, is there any way you can replicate Hibernate's saveOrUpdate behavior, saveOrUpdate public void saveOrUpdate(Object object) throws HibernateException …

java hibernate jpa persistence
Refresh and fetch an entity after save (JPA/Spring Data/Hibernate)

I've these two simple entities Something and Property. The Something entity has a many-to-one relationship to Property, so when I …

java hibernate jpa spring-data-jpa persistence