adplus-dvertising
frame-decoration

Question

SessionFactory is a thread-safe object.

a.

True

b.

False

c.

May be

d.

Can't say

Posted under Java Programming

Answer: (a).True

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. SessionFactory is a thread-safe object.

Similar Questions

Discover Related MCQs

Q. Which of the following methods returns proxy object?

Q. Which of the following methods hits database always?

Q. Which of the following method is used inside session only?

Q. Which of the following is not a state of object in Hibernate?

Q. Which of the following is not an inheritance mapping strategies?

Q. Which of the following is not an advantage of using Hibernate Query Language?

Q. In which file database table configuration is stored?

Q. Which of the following is not an advantage of Hibernate Criteria API?

Q. What should the return type of method where there is no return value?

Q. What data structure should be used when number of elements is fixed?

Q. What causes the program to exit abruptly and hence its usage should be minimalistic?

Q. Which one of the following causes memory leak?

Q. Which of the following is a best practice to measure time taken by a process for execution?

Q. Which of the below is true about java class structure?

Q. Which of the below is false about java coding?

Q. Which is better in terms of performance for iterating an array?

Q. What are generic methods?

Q. Which of these type parameters is used for a generic methods to return and accept any type of object?

Q. Which of these type parameters is used for a generic methods to return and accept a number?

Q. Which of the following allows us to call generic methods as a normal method?