Blog Archives

10: Spring, JavaConfig (i.e @Configuration), JPA & Hibernate by example

Example #1 Wiring JDBC Datasource application.yml where the datasource properties are read from. Example #2 Wiring JDBC Datasource with JNDI Example #3 Wiring the JPA persistence unit processors Callback interface for post-processing a JPA PersistenceUnitInfo. … Read more ›...

8 JPA interview questions and answers

Q1. What is a JPA? What are its key components? A1. The process of mapping Java objects to database tables and vice versa is called “Object-relational mapping” (ORM). The Java Persistence API provides Java developers with an object/relational mapping (ORM) facility for managing relational data in Java applications. … Read...

800+ Java Interview Q&As

Java & Big Data Tutorials