adplus-dvertising
frame-decoration

Question

The file which is the standard JPA configuration file to enable the Hibernate-based JPA implementation.

a.

src/main/resources/META-INF/spring/database.properties

b.

src/main/resources/META-INF/persistence.xml

c.

src/main/resources/META-INF/pom.xml

d.

none of the mentioned

Answer: (b).src/main/resources/META-INF/persistence.xml

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. The file which is the standard JPA configuration file to enable the Hibernate-based JPA implementation.

Similar Questions

Discover Related MCQs

Q. Spring application context, src/main/resources/META-INF/spring/applicationContext.xml consists of:-

Q. Command to create a Spring MVC controller that provides a UI:-

Q. To deploy the application to a web container:-

Q. Spring Roo’s root folder (or any of the source packages) is:-

Q. This encapsulates the context of a test’s execution:-

Q. This manages a test context for a test and triggers test execution listeners:-

Q. This defines a listener interface; by implementing this, you can listen to test execution events.

Q. Spring provides convenient TestContext support classes for:-

Q. JUnit 4 allows you to annotate your test methods with:-

Q. Usually, a test and its target class are located in the same package, but the source files of tests are stored in a separate directory.

Q. Method to perform cleanup tasks:-

Q. The static assert methods is declared in the:-

Q. Attribute which specifies the exception type:-

Q. Test data sets are provided by data providers, which are methods with the:-

Q. An object that simulates a dependent object:-

Q. An Object which usually knows how its methods are expected to be called:-

Q. Libraries that can help create mock objects:-

Q. Test used to test several units in combination as a whole.

Q. Spring supports web controller testing by providing Servlet API:-

Q. Base class to access the managed application context through the inherited getApplicationContext() method.