JPA Map Mapping A Map is an interface in which a unique key is associated with each value object. Thus, operations like…
JPA Tutorial
-
-
JPA One-To-One Mapping The One-To-One mapping represents a single-valued association where an instance of one entity is associated with an instance of…
-
JPA Table-per-class Strategy In table-per-class strategy, for each sub entity class a separate table is generated. Unlike joined strategy, no separate table…
-
JPA Tutorial JPA tutorial provides basic and advanced concepts of Java Persistence API. Our JPA tutorial is designed for beginners and professionals.…
-
Update an Entity JPA allows us to change the records in database by updating an entity. JPA Entity Update Example Here, we…
-
JPA Single Table Strategy The single table strategy is one of the most simplest and efficient way to define the implementation of…
-
JPA Inheritence Overview Inheritence is a key feature of object-oriented programming language in which a child class can acquire the properties of…
-
JPA Cascade Persist The cascade persist is used to specify that if an entity is persisted then all its associated child entities…
-
Inserting an Entity In JPA, we can easily insert data into database through entities. The EntityManager provides persist() method to insert records.…
-
JPA Cascade Remove The cascade remove is used to specify that if the parent entity is removed then all its related entities…