Top "Toplink" questions

TopLink is one of the leading Java persistence products and JPA implementations.

No Persistence provider for EntityManager named

I have my persistence.xml with the same name using TopLink under the META-INF directory. Then, I have my code …

java jpa persistence toplink
How to use enums with JPA

I have an existing database of a film rental system. Each film has a has a rating attribute. In SQL …

java jpa enums toplink
JPA exception: Object: ... is not a known entity type

I'm new to JPA and I'm having problems with the autogeneration of primary key values. I have the following entity: …

java jpa toplink
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
Unable to have correct value with SELECT query using MAX() in JPA

I am new in JPA and I have a problem when I try to query to the database using MAX() …

java jpa derby jpql toplink
JPA Implementations - Which one is the best to use?

I have made use of the following JPA implementations: Hibernate, Toplink, OpenJPA Each of them has their own strengths and …

java hibernate jpa toplink openjpa
JPA with TopLink: No META-INF/persistence.xml was found in classpath

public class LoginTest { public static void main(String[] args) { EntityManagerFactory emf = Persistence.createEntityManagerFactory("IRCBotPU"); EntityManager em = emf.createEntityManager(); em.getTransaction().…

java jpa persistence classpath toplink
COALESCE in JPA namedQuery

I have the following namedQuery select new test.entity.Emp(COALESCE(k.projectId,'N') as projectId, k.projectName) from Emp …

java jpa coalesce toplink nvl
GWT with JPA

I'm trying to build database application using GWT 1.5.3. I use JPA annotations with my objects. It seems in hosted mode …

gwt jpa rpc toplink
Is there are way to scroll results with JPA/hibernate?

I found some hint in Toplink Query query = em.createQuery("SELECT e FROM Employee e ORDER BY e.lastName ASC, …

java hibernate orm jpa toplink