I fear that I miss a very basic point, but I\'m stuck at the moment, hopefully someone can point my eyes starring to hard at it to the right one...
In a Spring-enabled integration test, I need to force the EntityManager to re-read from the database.
I want to add known JPA entities programatically when creating EntityManagerFactory. So I have this sequence (Hibernate 3.6)
I have the following piece of code: EntityManagerFactory emf = Persistence.createEntityManagerFactory(\"test\")
i am new to JPA, i have a problem with my JPA . i have used the entity manager as follows: 1: package com.icesoft.icefaces.samples.datatable.jpa;
I have imported a an app engine project in my eclipse.It was running fine on my previous laptop, here i have copied the eclipse directory from my old machine and imported the project in it. Now I am s
I have a code like this: AJPAController aJPAController; AClass aClass = aJPAController.find((Integer.parseInt(request.getParameter(\"id\")));
I am using Hibernate 3.6.0 with JPA 2 on Jboss AS 6.0.0 final. In an EJB of mine, there\'s a method which updated entity values and do some query on it. The whole method is running in a BMT transactio
I\'m quite new to both JPA/Hibernate and to Java, and am having some trouble with the basics of using the EntityManager class to manage persistent objects.I would appreciate it very much if someone wo
I\'m using Spring + Hibernate + JPA and I have a situation where I can\'t get my entities to persist to the database. I\'ve set up a service class that is annotated with @Transactional. It uses a DAO