openjpa
How to ensure unmanaged/managed object identity in OpenJPA?
I am using OpenJPA to persist objects. I was originally using OpenJPA 1.2 but then upgraded to OpenJPA 2.1. Objects are kept on the server in memory and they are serialized to the client and may be re[详细]
2023-03-05 06:38 分类:问答Postgresql/openJPA (geronimo) Sequence Issue
I am having a weird problem with a sequence. Im using postgresql 9 with geronimo 2.2. I have created the sequence PLANTS_ID_SEQ inside the db environment and when I try to create a new entity I get an[详细]
2023-03-05 00:44 分类:问答JPA QL "IN" collection doesn't work for openjpa 1.2.2
JPA 1 with OpenJPA 1.2.2 in a unit-test backed Hsqldb 1.8. The following JPA QL doesn\'t work with a \"IN\" on a List of ids doesn\'t work.[详细]
2023-03-04 01:25 分类:问答problem with openjpa query cache in glassfish + class cast exception form QueryKey
Using openjpa 1.2.0 with it\'s built-in DataCache on Glassfish, enabling query cache and pin some named queires, We see the following exception:[详细]
2023-03-01 18:47 分类:问答Can I retrieve column names in a JPA native sql query? [duplicate]
This question already has an answer here: Closed 10 years ago. Possible Duplicate: How to get ResultSetMetaData from enity manager?[详细]
2023-02-26 04:34 分类:问答Automatic Transactions in OpenJPA
I have a class, Location. Location contains a List of BorderPoint objects, but it can be a HUGE list (20,000 is not impossible). The tables for this are LOCATION and BORDERPOINT.[详细]
2023-02-22 13:59 分类:问答OpenJPA forward mapping tool order column specification during table creation
We\'ve set the following property in persistence.xml: <property name=\"openjpa.jdbc.SynchronizeMappings\" value=\"buildSchema(ForeignKeys=t开发者_运维知识库rue)\"/>[详细]
2023-02-20 18:13 分类:问答openjpa throws optimisticklockexception
I am trying openjpa and jpa. All I have is one entity class as corresponding table in the database. one of the attributes of the entity is username and corresponding row in the db table has varchar2(2[详细]
2023-02-16 19:38 分类:问答Enhancing openJPA classes in Eclipse
I\'m trying to enhance openJPA classes by this guide: enhancement-with-eclipse.html For some reason the same setup works in Windows but gives this problem in Ubuntu.[详细]
2023-02-16 00:30 分类:问答Does JPA support a @OneToMany mapping between entities without a foreign key constraint in the database?
This is for a legacy database.The two database tables in this relationship don\'t have a foreign key constraint ev开发者_运维知识库en though the child table column holds the PK of the parent table.[详细]
2023-02-13 06:30 分类:问答