openjpa
Bidirectional OneToMany/ManyToOne mapping in OpenJPA JPQL problem
I have two classes with a bidrectional relationship: @Entity @Access(AccessType.FIELD) @Table(name=\"ROOM\")[详细]
2023-02-09 19:15 分类:问答How to disable caching in OpenJPA 2.0.1 (edit: Issues with BoneCP)
I\'m unable to disable caching in OpenJPA 2.0.1. 开发者_运维问答I have set the following properties in my persistence.xml:[详细]
2023-02-09 01:01 分类:问答OpenJPA enhancing a Spring ROO batch application
I\'m quite new to OpenJPA and wanted to run my application. I\'ve made a main method and load the context XML there and fire up a transaction to run my servi开发者_开发技巧ce in. But when I run it I g[详细]
2023-02-06 04:28 分类:问答Unable to generate JPA entities from HSQLDB
I am using OpenJPA and HSQLDB for my current project. But I am unable to generate JPA entities from the HSQLDB because eclipse plugin is not giving me an option to select the schema.[详细]
2023-02-04 17:19 分类:问答JPA 2 with managed transactions not persisting object
I\'m using the OpenJPA implementation of JPA 2 and am having problems persisting an object to the database. I want to use transactions managed by the container (Websphere), so my understanding is that[详细]
2023-02-04 15:28 分类:问答OpenJPA schema configuration
I am using OpenJPA 1.2.3 on WebSphere with DB2. Is there a way to build and bundle my application in a way that allows for the same application (EAR) to have a changing Schema name based on environmen[详细]
2023-02-04 15:17 分类:问答Error when creating EntityManager in JPA2
I\'m trying to create a simple JPA2 app that persists something to a database using the OpenJPA implementation. I\'m running Derby and using the default Embedded JDBC Driver. I\'ve been scratching my[详细]
2023-02-03 13:03 分类:问答InvalidStateException while trying to enter data into DB
I have a method that return the entity manager for particular DB.Now when i use the method for the first time to get entity manager everything works fine.I can save data into any tables A,B,C using en[详细]
2023-02-02 07:12 分类:问答how to enable sql log in openjpa?
I have proram written using java,jps.Now i can see logs on cosole as folllows: INSERT INTO XYZ (a,b,c) VALUES (?, ?, ?) [org.apache.openjpa.jdbc.kernel.JDBCStoreManager$CancelPreparedStatement][详细]
2023-02-01 10:33 分类:问答JPA transaction error ( Not at the database side, values are persisted )
I\'m facing the below error : Attempt to assign id \"com.abc.java\" to new instance \"com.abc.java\" failed; there is already an object in the L1 cache with this id. You must delete this object (in[详细]
2023-02-01 07:14 分类:问答