Noob question here. I\'m following this example/tutorial to try and isolate a problem I keep getting on my main project. Problem is, the entityManagerFactory keeps returning null (thus, I get a NullPo
i have a database table \"viewmodule\" with a FK to itself (parent_id) to allow recursive structures.
I got an small problem, I always worked with Hibernate and Spring on Web stuff with a GenericDAO pattern, now I\'m using Hibernate for a GUI app which doesn\'t use anything like EJB and stu开发者_Stac
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 am new to Hibernate and I\'m not sure whether to use a Hibernate SessionFactory or a JPA EntityManagerFactory to create a Hibernate Session.
I have two Entity (tables) - Employee & Project. An Employee can have multiple Projects. Project table\'s CREATOR_ID field refers to Employee table\'s ID field. Employee entity does not maintain a
I am writing an application that will move data from one开发者_Python百科 database to another Using JPA EntityManager API. My questions are : 1. Can i use multiple entity managers in a single transact
Is it possible (using Hibernate and JPA2 Criteria Builder) to order by a methods result rather than an entities member?
I\'m pretty much new to Spring & Hibernate. In our team, we are building a web application using Struts 2 for the presentation layer, with Spring 3 and Hibernate 3 (with Annotations) underneath. W
I\'m attempting to use hibernate entity manager with mysql and glassfish.I\'m getting the following error when attempting to use a JTA datasource: