08 November 2020

#Hibernate

#Database, #Framework #Hibernate
What is Hibernate Framework?
What is Java Persistence API (JPA)?
What are the important benefits of using Hibernate Framework?
What are the advantages of Hibernate over JDBC?
What is hibernate configuration file?
What is hibernate mapping file?
What is Hibernate SessionFactory and how to configure it?
What is Hibernate Session and how to get it?
What is difference between openSession and getCurrentSession?
What is difference between Hibernate Session get() and load() method?
What is hibernate caching? Explain Hibernate first level cache?
What are different states of an entity bean?
What is use of Hibernate Session merge() call?
What is difference between Hibernate save(), saveOrUpdate() and persist() methods?
What will happen if we don?t have no-args constructor in Entity bean?
What is difference between sorted collection and ordered collection, which one is better?
What are the collection types in Hibernate?
What is HQL and what are it?s benefits?
What is Query Cache in Hibernate?
What is the benefit of native sql query support in hibernate?
What is Named SQL Query? Benefits?
What is the benefit of Hibernate Criteria API?
What is Hibernate Proxy and how it helps in lazy loading?
What is cascading and what are different types of cascading?
What is HibernateTemplate class?
What are best practices to follow with Hibernate framework?
What is Hibernate Validator Framework?
What is the benefit of Hibernate Tools Eclipse plugin?
What are the benefits of ORM tool?
What are the two cache types in Hibernate?
What are the two (2) components available in Hibernate configuration object?
What is the syntax to create SQL query in Hibernate?
What is the syntax to add criteria to the SQL query?
What is the syntax to retrieve hibernate statistics?
What are the different methods to fetch objects from database in Hibernate?
What is session interface?
What is session.save() in hibernate?
What is saveOrUpdate() in hibernate?
What are the benefit of version property in Hibernate?
What are the usage of method Session.beginTransaction()?
What is Query level cache?
What is get () and load()
What is addjar() and addDirectory() method?
What is Hibernate tuning?
What is derived properties?
What is Dialect?
What is POJOs?
What is transaction management?
What is callback interface in Hibernate?
What is first level cache?
What is the method to reattach the detached objects?
What is Lazy loading?
What is HQL?
What is Connection Pool?
Name some important interfaces of Hibernate framework?
Name some important annotations used for Hibernate mapping?
Provide the list of collection types in Hibernate?
Provide the list of Hibernate support databases?
Provide the list of ORM levels available in Hibernate?
Provide the mapping associations utilized in Hibernate?
Provide the fetching strategies available in Hibernate?
Provide the various other ORM frameworks in Hibernate?
Provide the method to re-read a provided instance state from the underlying database?
Provide the concurrency strategies in Hibernate?
Why we should not make Entity Class final?
Which design patterns are used in Hibernate framework?
Which annotation is used to specify the database table?
Which is the default transaction factory?
How to configure Hibernate Second Level Cache using EHCache?
How to implement Joins in Hibernate?
How to log hibernate generated sql queries in log files?
How to implement relationships in hibernate?
How transaction management works in Hibernate?
How to integrate log4j logging in hibernate application?
How to use application server JNDI DataSource with Hibernate framework?
How to integrate Hibernate and Spring frameworks?
How to integrate Hibernate with Servlet or Struts2 web applications?
difference between annotations and commons-annotations?
Difference between bytecode instrumentation and bytecode enhancement?
@ElementCollection - Strange delete/insert behavior
A collection with cascade=?all-delete-orphan? was no longer referenced by the owning entity instance
Batch update returned unexpected row count from update: 0 actual row count: 0 expected: 1
Can we execute native sql query in hibernate?
Can u mention the element of hbl.xml which helps to create the primary key values automatically?
Can u mention the element of hbl.xml which helps to map the property ?java.util.SortedSet? in hibernate?
Describe the steps to create database application using Hibernate?
Do you think the extension ?.hbm.xml? is mandatory for all the hibernate mapping file to work properly?
Do you think polymorphism is supported by Hibernate?
Do you think the SessionFactory is thread-safe?
Do you think Session is a thread-safe object?
Foreign keys instead of Entities
Hibernate SessionFactory is thread safe?
Hibernate Session is thread safe?
List out the core interfaces available in Hibernate?
List out the advantages of Hibernate template?
List out the three (3) inheritance models available in Hibernate?
List out few Java-based frameworks which is supporting hibernate integration?
List out a few properties required to database configuration in standalone condition?
To disable second level cache in Hibernate, what are the different methods?
Hibernate
  • Object-Relational Mapping (ORM)
  • Hibernate Configuration
  • Hibernate Annotations
  • Hibernate Session and SessionFactory
  • Hibernate Query Language (HQL)
  • Criteria Queries
  • Caching (First-level and Second-level cache)
  • Transaction Management
  • Entity Lifecycle (Persist, Merge, Remove, Detach)
  • Lazy and Eager Loading
Hibernate
  • Inheritance Mapping
  • Associations (One-to-One, One-to-Many, Many-to-One, Many-to-Many)
  • Fetching Strategies
  • Batch Processing
  • Native SQL Queries
  • Validation with Hibernate Validator
  • Interceptors and Event Listeners
  • Integration with Spring and JPA
  • Performance Tuning
  • Schema Generation
Hibernate
  • Hibernate Contexts (Flush, Clear)
  • Mapping Collections (List, Set, Map, etc.)
  • Composite Keys
  • Custom Types and UserTypes
  • Lazy Initialization Exceptions
  • Optimistic and Pessimistic Locking
  • Query Caching
  • Filters
  • Multitenancy Support
  • Migration Tools (Liquibase, Flyway)
Hibernate
  • Hibernate Tools (hbm2ddl, SchemaExport, etc.)
  • Using Hibernate with NoSQL Databases
  • Concurrency Control
  • Stateless Sessions
  • Proxies and Bytecode Enhancement
  • Derived Properties
  • Attribute Converters
  • Integrating with Other Persistence Solutions (MyBatis, JDBC)
  • Advanced Mapping Techniques (embeddables, component mappings)
  • Cross-cutting Concerns (logging, auditing)
Hibernate
  • Advanced Fetching Strategies (Subselect, Join Fetching)
  • Dynamic Models and Dynamic Entities
  • Migrating from Legacy Systems
  • Multi-database Support
  • Handling BLOB and CLOB Data Types
  • Advanced Caching Strategies (Ehcache, Infinispan)
  • Query Performance Monitoring
  • Hibernate Envers for Auditing
  • Hibernate MetaModel Generator
  • Integration Testing with Hibernate
  • Hibernate's Built-in Utilities (ReflectionOptimizer, etc.)
Which method is used to delete an object from the database in Hibernate?
remove()
delete()*
discard()
erase()

No comments:

Post a Comment

Most views on this month