- What is JPA
- Architecture of JPA
- JPA Annotation
- JPA Persistance.xml file
- JPA Entity
- Entity Introduction
- Creating an Entiry
- JPA Entity Manager
- Entity Manager
- Inserting an Entity
- Finding an Entity
- Updating an Entity
- Deleting an Entity
- Example of Find, insert, Update, Delete in JPA
- JPA Collections
- JPA Type of Mapping
- One to One Mapping
- One to Many Mapping
- Many to One Mapping
- Many to Many Mapping
- JPA Cascading Operations
- Persist
- Merge
- Detach
- Refresh
- Remove
- All
- JPA JPQL
- JPQL Basic Operations
- JPQL Bulk Data Operations
- JPQL Advanced Operations
- JPA Criteria API
- Select
- From
- Where
- Order by
- Group by
- Having
- JPA Inheritance
- Inheritance Overview
- Single Table Strategy
- Joined Table Strategy
- Table per class Strategy
- Annotations
- Validations
Examples :
- JPA example
`
To Do :
- details of the XML
- Create tables
- @GeneratedValue
- @SequenceGenerator
- @DynamicUpdate
- @Query
- @Modify
- XML
- transaction-type in persistance.xml
- <provider> tag in persistance.xml
- classes
- hibernate dilect
- hibernate showsql
- hibernate formatsql
- hibrnate hbm2ddl.auto
- PrimaryAndForeignKey in JPA
- It allows fetching of objects.
- It provides support for criteria update/delete.
- It generates schema.
- It supports Java 8 Date and Time.
- It provides @Repeatable annotation that can be used when we want to apply the same annotations to a declaration or type use.
- It allows JPA annotation to be used in meta-annotations.
- It provides an ability to stream a query result.
Reference :
Interview Questions