easyjpaannotationsmapping@Entity, @Table, @Column annotationsWhat do the @Entity, @Table, and @Column annotations do in JPA?โพ
easyjpalifecyclefundamentalsEntity lifecycle statesWhat are the four lifecycle states of a JPA entity?โพ
easyspring-datarepositoriesfundamentalsSpring Data JPA repository interfacesWhat are CrudRepository, JpaRepository, and PagingAndSortingRepository? When would you use each?โพ
easyjpafetchperformanceEAGER vs LAZY fetch typesWhat is the difference between FetchType.EAGER and FetchType.LAZY in JPA?โพ
easyspringtransactionsfundamentals@Transactional basicsWhat does the @Transactional annotation do in Spring?โพ
mediumjparelationshipsmappingJPA relationship annotationsExplain @OneToMany, @ManyToOne, and @ManyToMany with bidirectional vs unidirectional mappings.โพ
mediumhibernaten+1performancejpqlN+1 problem and solutionsWhat is the N+1 select problem in Hibernate and what are the main ways to solve it?โพ
mediumjpqlcriteria-apinative-queryspring-dataJPQL vs Criteria API vs native queriesCompare JPQL, the Criteria API, and native SQL queries in Spring Data JPA.โพ
mediumspring-datarepositoriesjpqlquery-methodsSpring Data derived query methods and @QueryHow do derived query method names work in Spring Data JPA, and when should you use @Query instead?โพ
mediumspringtransactionspropagationTransaction propagation levelsExplain the transaction propagation levels available in Spring's @Transactional annotation.โพ
mediumjpalockingconcurrencyversionOptimistic locking with @VersionWhat is optimistic locking in JPA and how do you implement it with @Version?โพ
mediumjpalockingconcurrencydatabasePessimistic locking in JPAHow does pessimistic locking work in JPA and when would you use it?โพ
mediumhibernatecacheperformanceHibernate second-level cacheWhat is the Hibernate second-level cache and how does it differ from the first-level cache?โพ
mediumhikaricpconnection-poolingspring-bootperformanceConnection pooling with HikariCPHow does HikariCP work in Spring Boot and what are the key configuration properties?โพ
mediumjpacascaderelationshipshibernateJPA cascade typesWhat are JPA cascade types and when should you use CascadeType.ALL vs specific cascade operations?โพ
hardhibernatedirty-checkingperformanceinternalsHibernate dirty checking mechanismHow does Hibernate's automatic dirty checking work, and what are its performance implications?โพ
hardhibernatespringosivanti-patternperformanceOpen Session in View anti-patternWhat is the Open Session in View pattern, why is it considered an anti-pattern, and how do you disable it?โพ
hardspring-dataspecificationscriteria-apidynamic-querySpring Data SpecificationsWhat are Spring Data JPA Specifications and how do you use them for dynamic queries?โพ
hardflywayliquibasemigrationsspring-bootFlyway vs Liquibase for database migrationsCompare Flyway and Liquibase for managing database schema migrations in a Spring Boot application.โพ
hardjpainheritancemappinghibernateJPA inheritance mapping strategiesWhat are the JPA inheritance mapping strategies and what are the trade-offs of each?โพ
hardjpaentity-graphperformancefetch@EntityGraph for controlling fetch plansWhat is @EntityGraph in JPA, how do you define one, and when should you use it over JOIN FETCH?โพ
hardspring-databulk-operationsperformancehibernateBulk updates and deletes in Spring Data JPAHow do you perform efficient bulk updates and deletes in Spring Data JPA, and what pitfalls should you watch for?โพ
hardspring-dataprojectionsdtoperformanceSpring Data projectionsWhat types of projections does Spring Data JPA support and when would you use each?โพ
hardtransactionsisolationdatabaseconcurrencyTransaction isolation levelsExplain the four SQL transaction isolation levels and the concurrency anomalies they prevent.โพ