Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
-1 votes
1 answer
60 views

I get an error object already exists when calling em.persist(serviceInstance) method. Object has several OneToMany(unidirectional) child object links, and one of the ServiceInstance -> ...
Whome's user avatar
  • 10.4k
0 votes
1 answer
75 views

OpenJPA3.2.2 supports AttributeConverter but I always get a cast error. class java.lang.String cannot be cast to class java.util.Calendar (java.lang.String and java.util.Calendar are in module java....
Whome's user avatar
  • 10.4k
0 votes
1 answer
31 views

@Query(value = "SELECT DISTINCT vip, instance FROM REPORT", nativeQuery = true) List<VipINFO> findAllVIPS (); I have this method in repository class, I want to map this data to ...
1 vote
0 answers
198 views

I am having a lot of difficulties getting @Convert and @Converter using Open JPA. some_field is a longtext field in the database @Entity @Table(name = "basic") public class Basic { @...
0 votes
1 answer
104 views

Followed these steps to test a jackartaee jpa webapp in Tomee Plus 9.1.0 https://oglimmer.medium.com/tomee-and-jpa-datasources-b95acb8663e4 /conf/tomee.xml : <Resource id="testdb" ...
kosta's user avatar
  • 406
0 votes
0 answers
26 views

I use OpenJPA in my Java project. The question is about a non-nullable integer column. Currently this field is mapped to an enum class by the ordinal index: @Column(nullable=false) @Enumerated(...
MrSnrub's user avatar
  • 1,263
0 votes
1 answer
38 views

How can I make a relationship with a second-level child using openjpa. Parent -> Child -> GrandChild Parent has a property lets say, plant, the child does not have it, however the grand child ...
0 votes
1 answer
539 views

I have been trying to upgrade my project to spring 3.1.0 . It currently uses OpenJpa with java persistence schema 1.x. If I upgrade the javax.persistence packages to jakarta.persistence packages, with ...
1 vote
1 answer
411 views

I am using H2 DB and JPA. I have a below query with left outer join, but when I am printing the logs I cant see the "left outer join" part in the generated query and its not working. @Query(&...
JDGuide's user avatar
  • 6,501
1 vote
1 answer
105 views

I searched on the web but cannot filter out the solution. I get pointed to Spring and Hibernate but I am only interested in the solution with OpenJPA. I have a table in which I store the taxonomy tree....
Marco's user avatar
  • 155
0 votes
1 answer
232 views

I have a web application project using sqlite latest version (3.40.1.0) and openjpa-all latest (3.2.2). I created a dummy db using sqlite3 command with the following query: CREATE TABLE test ( id ...
3 votes
1 answer
3k views

I'm currently working on a fork of openJPA and I have to configure a CI tool (e.g. github actions) and sonar cloud for remote analysis but first of all I'm trying the build in the local system. The ...
ma4stro's user avatar
  • 585
0 votes
0 answers
57 views

I am migrating from openjpa (2.2.2) to eclipselink(2.5.2) in my legacy project. During migration, I could see following code snippet which is specific to openjpa: openjpaEntityManager kem = ...
0 votes
0 answers
65 views

I am using websphere 9, ejb application . Till now I didn't face any errors. But suddenly after restart the server, the application throwing database persistence exceptions . And it fixes after ...
0 votes
1 answer
82 views

I am trying to migrate one application from websphere 8 to websphere 9. And the open jpa is updated from 2.0 to 2.1. After migrating I got error while saving. The autogenerated Id field is set to ...

15 30 50 per page
1
2 3 4 5
...
73

AltStyle によって変換されたページ (->オリジナル) /