Hibernate

Hibernate Subjective Questions And Answers
More interview questions and answers

What is Persistence?

What is Hibernate?

What is ORM? What does ORM consists of?

What Does Hibernate Simplify?

What are the most common methods of Hibernate configuration?

What are the Core interfaces are of Hibernate framework?

How to call stored procedure in mysql through hibernate?

what is lazy initialisation in hibernate?

What is Hibernate proxy?

What is the main difference between Entity Beans and Hibernate ?

What role does the Session interface play in Hibernate?

How will you configure Hibernate?

Is SessionFactory a thread safe object ?

What are different levels of ORM quality?

What is Hibernate Query Language (HQL)?

What are derived properties?

How do you map Java Objects with Database tables?

What is the general flow of Hibernate communication with RDBMS?

Define HibernateTemplate?

How will you obtain a session factory?

What are the types of inheritence models in Hibernate?

Explain the various object states in Hibernate?

What are the benefits of detached objects?

How does Hibernate distinguish between transient (i.e. newly instantiated) and detached objects?

Does Hibernate implement its functionality using a minimal number of database queries?

How can we get access to O/R mapping information such as table and column names at runtime?

Aren\'t stored procedures always faster than dynamic SQL?

Does Hibernate fully support polymorphism?

What are the different Transaction Factories available with Hibernate?

What are the different Fetching Strategies available with Hibernate?

What are the different types of statistics available in Hibernate 3.2?

How can multiple threads access session factory simulteneously to create session instance?

Can you tell us difference between Hibernate HQL over SQL?

Difference between session.update() and session.lock() in Hibernate ?

What is the best application framework for use with Hibernate?

Explain about the dirty checking feature of Hibernate?

Explain about mapping description file?

What�s the difference between load() and get()?

Explain Hibernate Transaction API?

What auto commint mode should you use in JDBC connection in Hibernate?

What are the various advanced configuration techniques in Hibernate?

What is JNDI-bound SessionFactory in Hibernate?

What is Java Management Extension (JMX) in Hibernate?

what is CaveatEmptor application in Hibernate?

How will you map the metadata in configuration file in Hibernate?

What are the Transparent and Automated persistence in Hibernate?

What is attribute oriented programming?

What are POJOs?

Where should SessionFactory be placed so that it can be easily accessed?

What are the different types of property and class mappings?

What are the different methods of identifying an object?

What are managed associations and hibernate associations?

What are the Extension interfaces that are there in hibernate?

What are different environments to configure hibernate?

What is the file extension you use for hibernate mapping file?

What is meant by Method chaining?

How will you identify the database with Hibernate?

Explain Fine-grained object model used in Hibernate?

What are the types of mapping class inheritance in Hibernate?

What are the various services provided by the Persistence manager?

How would you reatach detached objects to a session when the same object has already been loaded into the session?

What are the general considerations or best practices for defining your Hibernate persistent classes?

What is the difference between sorted and order collection in Hibernate?

What is the main advantage of using Hibernate than sql?

How will you create a primary key using Hibernate?

What is the difference between beans and Hibernate?

What are the various ways to fetch objects from database in Hibernate?

How will you retrieve an object by Identifier from the database in Hibernate?

Explain HQL (Hibernate Query Language)?

What is Hibernate QBC (Query By Criteria)?

What is Hibernate Query By Example?

What are the various fetching strategies from the database in Hibernate?

What is outer join fetching in Hibernate?

What is Lazy fetching in Hibernate?

How will you initialize lazy associations in Hibernate?

Difference between getCurrentSession() and openSession() in Hibernate ?

What are the Collection types in Hibernate ?

What is the difference between JDBC and JTA transactions in Hibernate?

What are the various transaction isolation isssues in Hibernate?

What is dirty read in transaction isolation issues?

Describe the various isolation levels defined by ANSI SQL standart?

Explain the Phantom read?

How will you set the isolation level for database in JDBC connection?

What are the various Catching strategies in Hibernate?

What are the various built-in concurrency strategies for transaction used in Hibernate?

What are the various built-in-mapping types available in Hibernate?

What are the various mapping association in Hibernate?

Which interfaces are defined to execute the query in the Hibernate?

What are the Hibernate join options?

Explain the Fetching association in HQL?

What are the different caching services provided by the Hibernate?

What are the various advantages of Hibernate?

What are the Joined Subclasses in Hibernate?

How will you configure the SessionFactory?

What is Connection pools used for in Hibernate?

How can you map a whole class as immutable?

What is the use of dynamic-insert and dynamic-update attributes in a class mapping?

What are the types of Hibernate instance states ?

What happens when both hibernate.properties and hibernate.cfg.xml are in the classpath?

Explain about HibernateTemplate?

Explained @Entity ,@Table,@Id and @Column annotations .

Why Should one can use Hibernate?