openjpa
JPA root get in Hibernate not working with IdClass attribute
I\'m trying to do a multiselect on an entity with an IdClass. I can\'t get a column that is mapped as part of the ID. It\'s clear why I can\'t, as none of the columns that are marked as @Ids are a par[详细]
2023-04-09 04:44 分类:问答PersistenceException when running SynchronizeMappings [closed]
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical andcannot be reasonably answered in its current form. For help clari[详细]
2023-04-04 09:30 分类:问答OpenJPA 2.1.1 enhancement problem on Glassfish 3.1.1
My problem is this exception: Caused by: <openjpa-2.1.1-r422266:1148538 nonfatal user error> org.apache.openjpa.persistence.ArgumentException: This configuration disallows runtime optimization,[详细]
2023-04-02 11:13 分类:问答How to force OpenJPA (1.2.2) to eager load a @ManyToOne combined primary key?
i\'ve got two Entities with combinded primarky keys: @Entity @IdClass(APK.class) public class A { @Id Integer pk1;[详细]
2023-04-01 16:52 分类:问答How to deal with locks (JPA)?
According to the Java Persistent/Locking wikibooks*, the best way to deal with locks is to report the Optimistic Lock Error/Exception to the user.[详细]
2023-03-31 12:03 分类:问答How to disable the lock system of JPA?
I\'m using OpenJPA and I have a lock problem. I already understand what\'s an Optimistic开发者_Go百科LockException and when it\'s thrown.[详细]
2023-03-30 18:28 分类:问答Is there Any Way to Enforce RuntimeUnenhancedClasses in EE Configuration
I just spent a half hour debugging some new code that\'s not broken because I forgot to check (again!) my logs for this dreaded message:[详细]
2023-03-30 10:28 分类:问答websphere 7 and (application based) open-jpa 2
I want to not use the built in Websphere 7 jpa plugin, instead use an application WEB-INF/lib/open-jpa 2 and a proprietary persistence provider.I cannot install the OSGI and JPA 2 feature pack for Web[详细]
2023-03-30 06:51 分类:问答Why there are "too many connections" in JPA?
This is my code (it\'s JAX-RS + JPA): @Path(\"/\") public class Foo { private static final EntityManagerFactory FACTORY =[详细]
2023-03-30 04:01 分类:问答Spring, OpenJPA, getting Instantiation of bean failed; nested exception is java.lang.NoClassDefFoundError: Could not initialize class" when it exists
I had a simple spring app working where this MediafilebrowserController was working and I could access a url at: http://localhost/item/something and it would work fine. I then proceeded to integrate o[详细]
2023-03-29 18:22 分类:问答