python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
JPA persistence unit definitions are conflicting
I want to use one class and two JPA persistence units and as such to be able to store data in different tables (or even databases) and different definitions.
According to the JPA2.2 specification this...
thehpi
Votes: 0
Answers: 1
CriteriaAPI + subquery creates wrong SQL (invalid identifier)
Not sure what I'm dong wrong so I'm guessing this is a bug. I'm trying to create a simple subquery but Eclipselink produces wrong SQL so the execution fails.
Error message
[EL Warning]: 2022-01-17 17:...
jansohn
Votes: 0
Answers: 0
Use different ID generator in Jakarta JPA depending on DB product
I migrate an application from Java EE 7/Glassfish 4 to Jakarta EE 9.1/Glassfish 6.1. Our product supports Oracle and MSSQL databases.
For Oracle we use sequences to generate IDs. For MSSQL we use iden...
FuryFart
Votes: 0
Answers: 2
Using Named Entity Graphs in Eclipselink not work
I have 2 classes
Collections
@Entity
@NamedEntityGraph(
name = "cars-graph",
attributeNodes = @NamedAttributeNode("cars"))
public class Collections {
@Id
@R...
Nikolay Grigoryev
Votes: 0
Answers: 1