adplus-dvertising
frame-decoration

Question

To have an annotated class be registered as a Hibernate entity, it needs to be registered with the:-

a.

AnnotationSessionFactory

b.

AnnotationSessionFactoryBean

c.

AnnotationSession

d.

None of the mentioned

Posted under Java Spring Framework

Answer: (b).AnnotationSessionFactoryBean

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. To have an annotated class be registered as a Hibernate entity, it needs to be registered with the:-

Similar Questions

Discover Related MCQs

Q. Because our jBPM configuration uses Hibernate, we have to configure the :-

Q. The next bean—the dataSource—is configured entirely at your discretion. The properties are set using properties in the properties file :-

Q. When we’re integrating with Spring, we modify the transaction-context element and the command-service element.

Q. The hibernate-session element tells jBPM to reuse an existing Hibernate session:-

Q. The spring-transaction-interceptor element is a special element to enable jBPM to defer to the TransactionManager defined in our application context.

Q. jBPM will expose beans using the:-

Q. jBPM, and indeed most workflow engines, passivate state for you, allowing a process to wait on external events :-

Q. The method annotated with @PostConstruct will be run after the bean’s been configured to let the user inject custom initialization logic.

Q. The business process file’s name needs to end in :-

Q. At the top, we’ve injected some dependencies:

Q. In the bean, setupProcessDefinitions is run when the bean is created.

Q. Process definition will reference Spring beans using the JBoss expression language.

Q. In jBPM, a business process is built using jPDL.

Q. Once in the java element named send-verification-email, jBPM will invoke the method:-

Q. Inside authorizeCustomer, the service queries the server for the any processes waiting at the:-

Q. The authorizeCustomer method also updates the Customer entity, marking it as authorized. From there, execution proceeds to the send-welcome-email java element.

Q. OSGi—which was formerly known as the:-

Q. OSGi provides a layer on top of the JVM’s default class loader.

Q. On top of Spring Dynamic Modules, SpringSource built SpringSource dm Server, which is a server wired from top to bottom with OSGi and Spring.

Q. OSGi is a framework.