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
Using JPA, can we define an enum as id of an entity? I\'ve tried the following: public enum AssetType {
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)!?!?!?
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.
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
I\'m using 开发者_如何学GoJPQL to retrieve data. I can get data using the statement List persons = null;
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
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
I\'m looking for an entity detection in OpenJPA. That I don\'t need to declare all entities in the persistence.xml.
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: