Top "Persistence" questions

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

jpa error uses a non-entity [class ch.printsoft.mailhouse.usermgr.entity.Department] as target entity in the relationship attribute

I try to persist my Department and Mandator classes to hsqhldb but it gives this error. Exception Description: [class ch.…

jpa persistence eclipselink
What's the difference between the name argument in @Entity and @Table when using JPA?

I'm using JPA2 and both @Entity and @Table have a name attribute, e. g.: @Entity(name="Foo") @Table (name="Bar") …

java database jpa annotations persistence
Best data persistence for Angularjs/Javascript Apps on PhoneGap?

I am looking to find best practices for Angularjs data persistence on a PhoneGap app. I'm using Ionic Framework on …

javascript angularjs sqlite cordova persistence
How to save data in iOS

I'm making a game and when I close the app (close at multitask manager), all my data is gone! So, …

ios persistence
PostgreSQL column type conversion from bigint to bigserial

When I try to change the data type of a column in a table by alter command... alter table temp …

sql database postgresql persistence
Disable Lazy Loading in Hibernate

How do I disable lazy loading in Hibernate? I am using persistence annotations, not an hbm xml file. I am …

hibernate persistence lazy-evaluation hibernate-annotations
Can not set java.lang.Integer field to java.lang.Integer

User declaration: @Entity public class User { @Id @GeneratedValue private Integer id; .... Pattern declaration: @Entity public class Pattern { @Id @GeneratedValue Integer …

java hibernate persistence hql
Persisting set of Enums in a many-to-many unidirectional mapping

I'm using Hibernate 3.5.2-FINAL with annotations to specify my persistence mappings. I'm struggling with modelling a relationship between an Application …

java hibernate jpa persistence annotations
Best practices for using and persisting enums

I've seen several questions/discussions here about the best way to handle and persist enum-like values (e.g. Persisting data …

c# java database enums persistence
How can I tell if another instance of my program is already running?

How do i tell if one instance of my program is running? I thought I could do this with a …

delphi persistence mutex instance semaphore