Questions tagged [openjpa]

OpenJPA is an open source implementation of the Java Persistence API specification. It is an object-relational mapping (ORM) solution for the Java language, which simplifies storing objects in databases. It is open source software distributed under the Apache 2.0 Licence.

OpenJPA is an open source implementation of the Java Persistence API specification similar to and . It is an object-relational mapping (ORM) solution for the Java language, which simplifies storing objects in databases. It is open source software distributed under the Apache 2.0 Licence.

The project is an official Apache projectand is available at http://openjpa.apache.org/

Useful links

Related tags

1089 questions
-1
votes
1 answer

EntityNotFoundException with JPA

I developing an application using Standard JPA and db2 and I faced the following : I have the following classes structure: The Parent…
User
  • 573
  • 3
  • 15
  • 28
-1
votes
1 answer

Weird Entity Manager Error

I've made this query: Usuario user1=(Usuario) request.getSession().getAttribute("user"); String query1 = "SELECT f FROM Favorito f WHERE f.usuarioBean = 'user1'"; I call the Manager method here List favoritos =…
Nausikaa
  • 123
  • 1
  • 2
  • 10
-1
votes
2 answers

org.apache.openjpa.persistence.ArgumentException: An error occurred while parsing the query filter

I am getting this Exception in Open JPA. org.apache.openjpa.persistence.ArgumentException: An error occurred while parsing the query filter "select a from Test a where…
user888263
  • 111
  • 2
  • 12
-2
votes
1 answer

org.apache.openjpa.persistence.PersistenceException: null

The second line is causing the exception listed below. This code actually works on the test server, but is blowing up on my box. Can anyone offer a clue what I need to look at to solve this? TypedQuery _TypedQuery =…
Mr Smith
  • 3,318
  • 9
  • 47
  • 85
-2
votes
1 answer

Generate JPA Entities from existing Database Tables

How can I generate JPA entities beans from database tablas? I am using OpenJPA but has so much bugs and apparently the project is stopped.
-2
votes
1 answer

Attempt to set column "system_user.id" to two different values

Caused by: org.apache.openjpa.persistence.InvalidStateException: Attempt to set column "system_user.id" to two different values: (class java.lang.Integer)"6", (class java.lang.Long)"3,651" This can occur when you fail to set both sides of a…
Oleksii Kyslytsyn
  • 2,458
  • 2
  • 27
  • 43
-3
votes
1 answer

SQL LIKE operator for Graphic Strings

How can I use LIKE operator for the Graphic strings in OpenJPA for DB2? I used as the following in the JPQL and failed. select u from User u where u.userName like :userName userName = VARGRAPHIC(20) Then I use as the following and failed select…
zawhtut
  • 8,335
  • 5
  • 52
  • 76
-3
votes
1 answer

NullPointerException in JDBCStoreManager.setInverseRelation when mapping @ManyToMany relation - finding out what's wrong?

I have many-to-many relation between Project and Document which is mapped that way: @LoadFetchGroup("documents") @ManyToMany(targetEntity = entity.Document.class, mappedBy = "projects", cascade = CascadeType.ALL) private List docs = new…
Danubian Sailor
  • 1
  • 38
  • 145
  • 223
-4
votes
1 answer

Database Unloads to file

Is there any tool/way to export tables data into a file which is inserted on that day, and this job should Run on everyday.
Ranjith Reddy
  • 183
  • 2
  • 12
1 2 3
72
73