1/9
These flashcards cover key concepts related to JPA Static Metamodels and type-safe database queries, providing definitions and clarifications for important terms.
Name | Mastery | Learn | Test | Matching | Spaced | Call with Kai |
|---|
No analytics yet
Send a link to your students to track their progress
Static Metamodel
A compile-time generator that creates helper classes for JPA entities, allowing for type-safe Criteria API queries.
Compile-time safety
Errors are caught during compilation rather than at runtime, leading to earlier detection of issues.
Run-time bug
An error that occurs during the execution of a program, as opposed to a compile-time error that is detected when the code is compiled.
Refactoring safety
The ability to rename or change fields in the code while ensuring that the compiler helps make necessary adjustments, reducing the risk of errors.
Criteria API
A standardized API in JPA for constructing queries using type-safe attributes rather than string-based queries.
Hibernate JPA Metamodel Generator
An annotation processor that generates static metamodels for JPA entities during the compilation process.
Entity
A class in JPA that is mapped to a database table, representing a data model.
Autocompletion in IDE
A feature in Integrated Development Environments that provides coding suggestions, improving productivity and reducing errors.
User_ class
The auto-generated class that provides type-safe field references for the User entity, enhancing query safety.
Type correctness
The validation of data types during compilation, preventing mismatches such as using a String where an Integer is expected.