openjpa
Persisting deep object graph with JPA without em.flush()
I have following model: Report, ReportSection and ReportSectionProperty. Report has zero to many ReportSections, ReportSection has zero to many ReportSectionPropert-ies. This would qualifie as three[详细]
2023-01-16 19:03 分类:问答Using enum as id
Using JPA, can we define an enum as id of an entity? I\'ve tried the following: public enum AssetType {[详细]
2023-01-16 10:28 分类:问答JPA / OpenJPA Same value in all rows
I have a problem with OpenJPA I try to read all rows from a table but the primary key has always a same value(value = 0)!?!?!?[详细]
2023-01-15 21:01 分类:问答MappingException: InvocationTargetException
I have a small problem here and hope that someone can help me out. I wanna do a mapping from Object to Integer. The Object is marked as Fetchtype.Lazy.[详细]
2023-01-14 07:16 分类:问答How to inject custom object ids into JPA entities
I am using JPA 2 for an enterprise application, and my DBA\'s just hit me with a twist. They want me to use the group\'s centralized object ID generator for all my tables.This means rather than using[详细]
2023-01-13 05:47 分类:问答select from two tables using JPQL
I\'m using 开发者_如何学GoJPQL to retrieve data. I can get data using the statement List persons = null;[详细]
2023-01-12 21:02 分类:问答IBM Websphere JPA configuration - how to update persistence.xml
I\'m new to EJB 3 and the JPA. I\'ve created a datasource in the appserver which is jdbc/AppDataSource. The default persistence provider is left as com.ibm.websphere.persistence.PersistenceProviderIm[详细]
2023-01-12 02:53 分类:问答OpenJPA, Jersey, JUnit: Using a different persistence unit for my unit tests?
I\'m building an application using OpenJPA 2.0.0, Jersey 1.3, and JUnit 4.8.1. I\'ve set it up so I have two different persistence units defined in 开发者_运维知识库my persistence.xml: \"default\" an[详细]
2023-01-11 02:23 分类:问答How to detect entities automatically with openJPA?
I\'m looking for an entity detection in OpenJPA. That I don\'t need to declare all entities in the persistence.xml.[详细]
2023-01-03 22:14 分类:问答OpenJPA HSQLdb - how to handle IDs
I\'m having trouble handling IDs of my databse tables using OpenJPA and HSQLdb. I created an Abstract class where I handle annotations and stuff to remap into the DB:[详细]
2023-01-01 14:37 分类:问答