Top "Hibernate-entitymanager" questions

Hibernate EntityManager implements the programming interfaces and lifecycle rules as defined by the JPA 2.0 specification.

Hibernate SessionFactory vs. JPA EntityManagerFactory

I am new to Hibernate and I'm not sure whether to use a Hibernate SessionFactory or a JPA EntityManagerFactory to …

java hibernate jpa sessionfactory hibernate-entitymanager
How can i get the session object if i have the entity-manager

I have private EntityManager em; public List getAll(DetachedCriteria detachedCriteria) { return detachedCriteria.getExecutableCriteria("....").list(); } How can I retrieve the session …

java hibernate jpa hibernate-entitymanager
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
Hibernate update with EntityManager

I am using Hibernate 4.1.7 and trying to update object, but theres no documentation how it should be done. Currently, I …

java hibernate named-query hibernate-entitymanager
java.lang.IllegalStateException: EntityManager is closed

I'm building a JAR file, deploying to JBoss 4.2.3.GA (can't help it), with Hibernate 4.1.5.SP1 with validator 4.3.0.Final. The database …

hibernate jboss entitymanager hibernate-entitymanager
Unable to build EntityManagerFactory - Spring and Hibernate

I am getting following error while deploying spring application with hibernate3 to glassfish server 3.1.2: SEVERE: Exception while loading the app …

java spring hibernate persistence.xml hibernate-entitymanager
Spring 3.1 + Hibernate 4.1 JPA, Entity manager factory is registered twice

I'm using Spring Framework 3.1 with Hibernate 4.1 as a JPA provider, and I have a fully functional setup, but every time …

spring hibernate jpa hibernate-entitymanager
JPA - createEntityManagerFactory returns Null

Noob question here. I'm following this example/tutorial to try and isolate a problem I keep getting on my main …

java hibernate jpa entitymanager hibernate-entitymanager
Hibernate: Unable to access TransactionManager or UserTransaction to make physical transaction delegate

I was using Servlets, PostgreSQL and Hibernate with EntityManager to build a Web app and everything was working ok until …

java hibernate postgresql servlets hibernate-entitymanager
hibernate, mysql, glassfish v3, and JTA datasource

I'm attempting to use hibernate entity manager with mysql and glassfish. I'm getting the following error when attempting to use …

mysql hibernate glassfish jta hibernate-entitymanager