Top "Persistence" questions

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

Name attribute in @Entity and @Table

I have a doubt, because name attribute is there in both @Entity and @Table For example, I'm allowed to have …

java hibernate jpa annotations persistence
Generate JPA 2 Entities from existing Database

How can I generate JPA2 compliant @Entity from existing Databases?. I found this: Question Still its not clear if JBoss …

java code-generation persistence entity jpa-2.0
Hibernate Vs iBATIS

For our new product re-engineering, we are in the process of selecting the best framework from Java. As the consideration …

java hibernate frameworks persistence ibatis
JPA 2 CriteriaQuery, using a limit

I am using JPA 2. For safety reasons, I am working type safe with CriteriaQuery's (and thus, I am not searching …

java sql jpa persistence limit
javax.persistence.PersistenceException: org.hibernate.PersistentObjectException: detached entity passed to persist

Using JPA with Hibernate, I got an exception when running the following code. The first time I run it, everything …

java hibernate jpa persistence
How persistent is localStorage?

I'm depending heavily on localStorage for a plugin I'm writing. All the user settings are stored in it. Some settings …

javascript persistence local-storage persistent-storage
how to write order by and limit query in jpa

Possible Duplicate: Select top 1 result using JPA i wish to fetch top 10 results based on 'totalTradedVolume' filed of my table …

java jpa persistence
Java Persistence / JPA: @Column vs @Basic

What is the difference between @Column and @Basic annotations in JPA? Can they be used together? Should they be used …

java jpa persistence
Make persistent changes to init.rc

I want to change the init.rc file of an android pad. But after I change it and reboot the …

android persistence boot
Hibernate could not initialize proxy - no Session

My code retrieves all information related to the user: SessionFactory sessionFactory = HibernateUtilities.configureSessionFactory(); Session session = sessionFactory.openSession(); UserDetails ud = null; …

java hibernate persistence lazy-evaluation lazy-initialization