Most voted "persistence" questions
None
Learn more…54 questions
Sort by count of
-
0
votes0
answers41
viewsWhat is the best way to perform a dependent insertion of another entry into the database using Typeorm?
The entities involved are the following (cardinality Onetoone) User import { Entity, PrimaryGeneratedColumn, Column, OneToOne, JoinColumn } from "typeorm"; import Profile from "./Profile"; @Entity()…
-
-1
votes1
answer862
viewsBuilding select in HQL
I’m starting to use JPA with Hibernate and I’m having doubts about the HQL query, I did some research on the Query hql but I couldn’t understand much. I want to do this select in hql only I did not…
-
-1
votes1
answer136
viewsError exceptions.Optimisticlockexception when trying to perform UPDATE with JPA
I’m having trouble when I try to perform an update with JPA with the instruction: ObjetoDE = thisObjetoBF.update(ObjetoDE); ERROR: Exception [EclipseLink-5010] (Eclipse Persistence Services -…
-
-2
votes1
answer125
viewsI need help in java
I am migrating a desktop application in Delphi to java, and in Delphi there is a class that persists in the database the values 00, 10, 20 and 30. I’m making a java Enum to persist the values. I…