jpa
Java persistence entity manager factory returning null
I am using MySql database with JPA. my persistence.xml looks like <?xml version=\"1.0\" encoding=\"UTF-8\"?>[详细]
2023-04-10 19:50 分类:问答JPA ManyToMany relation update failed due to constraint key in another relation
While developing an Eclipse GEF application using an eclipselink implementation of JPA i have found an error that has been annoying me for a while:[详细]
2023-04-10 18:05 分类:问答JPQL/HQL - Is it possible to specify the order, by providing a list of IDs?
(Note: I\'m using the Play! framework, which uses Hibernate as the J开发者_如何学编程PA implementation.)[详细]
2023-04-10 16:51 分类:问答Is it possible to impl database 'trigger' in java code? (hibernate + jpa + spring + mysql)
I am using mysql 5.5 DB, hibernate.4.0 as jpa provider to spring 3.0.5. I have a user table and privilege table in my DB. Also I have some triggers in my DB. Those trigger implements some of our appl[详细]
2023-04-10 16:42 分类:问答The annotation PersistenceContext will not be recognized by WebSphere Application Server v7.0 runtimes
I am getting the error message in Websphere when trying to use JPA @PersistenceContext annotation. I am using JPA 2.0 and hibernate as persistence provider, have all the required hibernate 3.5 jar f[详细]
2023-04-10 16:13 分类:问答how to save simple CRUD codes in a service, just like GenericDao/JpaRepository?
Our web project uses spring3, Jpa (hibernate). To save CRUD and other commonly used methods, we made our repositories sub-classes of spring JpaRepository.[详细]
2023-04-10 14:49 分类:问答How does the UserTransaction and the EntityManager interact?
This is an academic question; I have no broken code in relation to this.I just want to expand my understanding of what is happening under the hood.[详细]
2023-04-10 11:30 分类:问答Bidirectional relationship with superclass entity property in JPA
I\'m tying to implement some tree-like structure with JPA. I have a \"folder\" entity and a \"test\" entity. Folder can contain both folders and tests. Test doesnt contains anything.[详细]
2023-04-10 10:49 分类:问答Jpa - Hibernate @Version incorrectly incremented
I\'m using jpa with hibernate (3.2.7) as orm implementation. I have an entity being modified and then merged.[详细]
2023-04-10 05:59 分类:问答is there any benefits for using ORDBMS instead RDBMS behind JPA
Today I reviewed postgreSQL wiki and I found it is a ORDBMS (object-relational database management system), so I want to know is there any benefits for using postgreSql (RDBMS) behind the JPA (hiberna[详细]
2023-04-10 05:38 分类:问答