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
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
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.
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:
This question already has an answer here: Closed 10 years ago. Possible Duplicate: How to get ResultSetMetaData from enity manager?
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.
We\'ve set the following property in persistence.xml: <property name=\"openjpa.jdbc.SynchronizeMappings\" value=\"buildSchema(ForeignKeys=t开发者_运维知识库rue)\"/>
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
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.
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.