Posts by Cleber Farinazzo Junior • 41 points
6 posts
-
0
votes1
answer76
viewsA: Error: 'Operand type Clash: image is incompatible with Numeric'
looks like it was because it was a field that was fk (so I didn’t just pass the ID, pass the whole object to this field fk) but jpa was set to common field (@Column) and not fk ( @Joincolumn). Being…
-
0
votes1
answer76
viewsQ: Error: 'Operand type Clash: image is incompatible with Numeric'
When trying to save an object in the database, gives the following exception: org.hibernate.Exception.Dataexception: could not update. [...] Caused by: java.sql.Sqlexception: Operand type Clash:…
-
1
votes1
answer752
viewsQ: @Size, using Hibernate Validator, accuses error in value that should pass validation
I have a Java SE application where I can’t use the @size annotation. This annotation is worked out by the org.hibernate.Validator.Size. There is a user field in the model where I do so: @Size(min =…
-
1
votes0
answers108
viewsQ: Problem with aggregation function, using Hibernate Createquery
In a Package, a fkEmbaling refers to the 'father', the larger package. EX: Let’s say that 10 A packs fit inside a B package. A packaging record A will have in its fkEmballing the packaging B in…
-
0
votes1
answer163
viewsA: Relationship between classes Composite key error: not Mapped to a single Property
I haven’t been able to run the application yet because there are other problems to be solved, but by doing so the compiler stopped complaining about this issue: @JoinColumn(name = "FK_F",…
-
2
votes1
answer163
viewsQ: Relationship between classes Composite key error: not Mapped to a single Property
I have a Cvariacaoto class that has a composite key (FK_T, FK_F, FK_F_VARIACAO). Two of these primary key fields (FK_F, FK_F_VARIACAO) are also foreign key to the Fvariacaoto table, in a Manytoone…