R4R
Right Place For Right Person TM
 
R4R Java Hibernate Hibernate FAQs Hibernate Objective Questions and Answers

 


Tolal:12 Click: 1

Hiber Interview Questions And Answers

Page 1

Questions Show Answers Total Posts Post Your Answers Last Post
Choose true 
1.Hibernate is a framework.
2.Hibernate is an object-relational mapping (ORM) library for the Java language
3.Hibernate provides a mapping for object-oriented domain model to a traditional relational database.
4.All of the above 
5.None
Show Answers 2 Post Your Answers 27.03.10
Rajesh Kumar
Hibernate lets you develop persistent classes following common Java idiom - including association, inheritance, polymorphism, composition and the Java collections framework.
1.True
2.False 

Show Answers 1 Post Your Answers 27.03.10
Rajesh Kumar
What is ORM?
1.ORM stands for object/relational mapping.
2.ORM is the automated persistence of objects in a Java application to the tables in a relational database.
3.Both of Above
4.None
Show Answers 1 Post Your Answers 27.03.10
Rajesh Kumar
The Hibernate XML configuration file name is?
1.hibernate.cfg.xml
2.hibernate.config.xml
3.hibernate.cg.xml
4.None
Show Answers 1 Post Your Answers 27.03.10
Rajesh Kumar
The most common methods of Hibernate configuration
1. XML configuration in hibernate.cfg.xml
2. XML configuration in hibernate.config.xml
3. Programmatic configuration
4. None
Show Answers 1 Post Your Answers 27.03.10
Rajesh Kumar
Which of following are not Core interfaces of Hibernate framework
1.Session interface
2.SessionFactory interface
3.Configuration interface
4.Transaction interface
5.Query and Criteria interfaces

A.1,2,3,4,5
B.1,3,5
c.1,5
D. None
Show Answers 1 Post Your Answers 27.03.10
Rajesh Kumar
Is SessionFactory a thread safe object ?
1.Yes
2.No
Show Answers 1 Post Your Answers 27.03.10
Rajesh Kumar
Choose correct Instance states  of persistent classes? 
1.transient
2.persistent
3.detached
4.All of Above
5.None
Show Answers 1 Post Your Answers 27.03.10
Rajesh Kumar
How you can enable the query cache?
By setting Property name:-
1.hibernate.cache.use_query_cache true/false 
2.hibernate.cache.use_query_cache 0/1
3.hibernate.cache.use _cache true/false 
4.hibernate.cache.use_ _cache 0/1
Show Answers 1 Post Your Answers 27.03.10
Rajesh Kumar
Choose correct hibernate SQL Dialects (hibernate.dialect) combinations 

1.For  DB2                       org.hibernate.dialect.DB2Dialect
2.For  MySQL               org.hibernate.dialect.MySQLDialect
3.For  Oracle 9i/10g      org.hibernate.dialect.Oracle9Dialect
4.All of the above
5. None
Show Answers 1 Post Your Answers 27.03.10
Rajesh Kumar
Which of the following integration points Hibernate have for J2EE infrastructure?
1.Container-managed datasources
2.Automatic JNDI binding
3.JTA Session binding
4.JMX deploymen
Show Answers 1 Post Your Answers 27.03.10
Rajesh Kumar
There are three standard (built-in) choices:
1.org.hibernate.transaction.JDBCTransactionFactory
2.org.hibernate.transaction.JTATransactionFactory
3.org.hibernate.transaction.CMTTransactionFactory

Which is default Transaction strategy configuration?

1.1
2.2
3.3
4.None 
Show Answers 1 Post Your Answers 27.03.10
Rajesh Kumar

Goto Page:

Hiber Interview Questions And Answers

Hiber Interview Questions And Answers

Hiber Interview Questions And Answers

Hiber Subjective Questions And Answers

R4R,Hiber Objective, Hiber Subjective, Hiber Interview Questions And Answers,Hiber,Hiber Interview,Hiber Questions ,Hiber Answers

New Updates

R4R
R4R
R4R
R4R
R4R
R4R
R4R
R4R