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 project. Problem is, the entityManagerFactory keeps returning null (thus, I get a NullPo[详细]
2023-04-12 11:07 分类:问答Filter JPA Entities without removing them from database
i have a database table \"viewmodule\" with a FK to itself (parent_id) to allow recursive structures.[详细]
2023-03-23 18:13 分类:问答Hibernate on non-managed environment
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[详细]
2023-03-22 08:52 分类:问答Hibernate Entity manager auto flush before query and commit changes to DB in transaction
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[详细]
2023-03-16 06:31 分类:问答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 create a Hibernate Session.[详细]
2023-02-24 09:03 分类:问答How to use JOIN using Hibernate's session.createSQLQuery()
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[详细]
2023-02-05 05:44 分类:问答multiple entitymanagers in a transaction
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[详细]
2023-01-23 02:47 分类:问答JPA2 + Hibernate + Order By
Is it possible (using Hibernate and JPA2 Criteria Builder) to order by a methods result rather than an entities member?[详细]
2023-01-03 01:56 分类:问答Spring, Hibernate, EntityManager and class inheritance
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[详细]
2022-12-22 23:02 分类:问答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 a JTA datasource:[详细]
2022-12-21 10:27 分类:问答