0% found this document useful (0 votes)
14 views

Advanced Java L2

Uploaded by

prenithasree841
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
14 views

Advanced Java L2

Uploaded by

prenithasree841
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Advanced Java L2 - Syllabus

Hibernate
➢ Setting Up Hibernate
✓ Introduction
✓ Getting the required libraries for hibernate
✓ Creating a hibernate persistent class
✓ Providing an XML-based hibernate mapping
✓ Providing an annotation-based hibernate mapping
✓ Providing a hibernate configuration using an XML file
✓ Providing a hibernate configuration using the properties file
✓ Configuring hibernate programmatically

➢ Understanding the Fundamentals


✓ Introduction
✓ Building a SessionFactory
✓ Creating a generic SessionFactory provider class
✓ Opening a new session
✓ Opening a stateless session
✓ Saving an object to the database
✓ Fetching an object from the database
✓ Removing an object from the database
✓ Updating an object
✓ Creating a criteria
✓ Restricting the results using a criteria
✓ Pagination using a criteria
✓ Sorting the results
✓ Transforming a result
✓ Using basic projection

➢ Basic Annotations
✓ Introduction
✓ Declaring a class as an entity and creating a table in the database –
@Entity and @Table
✓ Creating a column in the table – @Column
✓ Creating a primary key and composite primary key column – @Id
and @IdClass
✓ Creating an autogenerator column
➢ Working with Collections
✓ Introduction
✓ Persisting List
✓ Persisting Set
✓ Persisting Map
✓ Persisting Array

➢ Working with Associations


✓ Introduction
✓ One-to-one mapping using foreign key association
✓ One-to-one mapping using a common join table
✓ One-to-one mapping using a common primary key
✓ One-to-many mapping or many-to-one mapping
✓ Many-to-many mapping

➢ Querying
✓ Introduction
✓ Working with an alias
✓ Performing aggregate operations
✓ Executing a subquery using a criteria
✓ Executing a native SQL query
✓ Executing a query using HQL
✓ Using formula in hibernate
✓ Working with NamedQuery

➢ Advanced Concepts
✓ Introduction
✓ Working with a first-level cache
✓ Working with a second-level cache
✓ Working with a query cache
✓ Working with the table per class hierarchy strategy of inheritance
✓ Working with the table per subclass strategy of inheritance
✓ Working with the table per concrete class strategy of inheritance
✓ Working with the versioning of objects
✓ Maintaining the history of an object
✓ Working with an interceptor
✓ Working with batch processing

You might also like