Explanation:
Hibernate is an Object/Relational Mapping (ORM) tool/solution that maps application domain model objects to relational database tables in Java settings. Hibernate is a Java Persistence API reference implementation (JPA).
Explanation:
The @SpringBootApplication annotation on the class is the Spring Boot Application's entry point. The main method of this class should be used to execute the Spring Boot application. @SpringBootApplication annotation includes Auto-Configuration, Component Scan, and Spring Boot Configuration.
Explanation:
javax.persistence provides the @Id annotation. The primary key of the current entity is indicated by the member field below. As a result, based on this annotation, you can use Hibernate and Spring frameworks, as well as do some reflection work.
Explanation:
The @Autowired annotation, like the @Required annotation, can be used to autowire a bean on the setter method, constructor, a property, or methods with arbitrary names and/or multiple arguments. On Setter Methods, @Autowired To remove the property element from the XML configuration file, utilize the @Autowired annotation on setter methods.
Explanation:
Spring Boot employs a Tomcat embedded web server by default.
Explanation:
The most recent stable spring boot version is 2.5.0 as of May 21st, 2025. Spring Boot 2.5.0 includes a number of bug fixes as well as dependency updates. Java 8 is required for Spring Boot 2.5.0. It's also been put through its paces with Java 16.
Explanation:
Using the CustomerRepository.findAll()
The correct answer:
All of the above
Explanation:
As a minimum, Spring Boot v2.0 requires Java 8.0. Many new features in Java 8 include lambda expressions, functional interfaces, stream APIs, time APIs, default methods in interfaces, and so on. Many old programs are being updated to take advantage of the additional features in Java 8.