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...

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” … Read more...

800+ Java Interview Q&As