CJ__47
CJ__47
JCHJava Community | Help. Code. Learn.
Created by CJ__47 on 9/19/2024 in #java-help
PMD Java source analyzer insights in code insights section
Hi I was trying to see if it's possible to use pmd and display the error as a highlight like intellij ones . I found for vs code https://medium.com/@arindam-karmakar/getting-started-with-apex-pmd-analysis-7401185b5ba6 Also ,there's an unanswered issue on github for this : https://github.com/amitdev/PMD-Intellij/issues/177
18 replies
JCHJava Community | Help. Code. Learn.
Created by CJ__47 on 9/15/2024 in #java-help
I want to understand the need of keys in JPA (beginner)
Hi , Jpa entity in java to me is an interface for Database operations for classes . But , I don't understand need of defining primary key/foreign key in entities. It could be managed by database engines. To me , it seems like Database is a Data at rest concept while Entity is a data in transit concept
4 replies
JCHJava Community | Help. Code. Learn.
Created by CJ__47 on 9/12/2024 in #java-help
Beginners doubt on JPA entity foreign mapping
Hi I am new to jpa's and am learning of foreign key mappings between two table. I need resources to learn on Jakarta JPA manytoone mappings. I had a doubt on it , to me ,JPA seems like an inherited interface to database/sql operations, so why does it matter if we implement foreign key mapping or not ,if it can be handled by Sql engines well ?
6 replies