"Java Hibernate cookbook" - Information and Links:

Java Hibernate cookbook - Info and Reading Options

over 50 recipes to help you build dynamic and powerful real-time Java Hibernate applications

Book's cover
The cover of “Java Hibernate cookbook” - Open Library.

"Java Hibernate cookbook" was published by Packt Publishing in 2015 - Birmingham, UK, it has 1 pages and the language of the book is English.


“Java Hibernate cookbook” Metadata:

  • Title: Java Hibernate cookbook
  • Author:
  • Language: English
  • Number of Pages: 1
  • Publisher: Packt Publishing
  • Publish Date:
  • Publish Location: Birmingham, UK

“Java Hibernate cookbook” Subjects and Themes:

Edition Specifications:

  • Pagination: 1 online resource (1 volume)

Edition Identifiers:

AI-generated Review of “Java Hibernate cookbook”:


"Java Hibernate cookbook" Table Of Contents:

  • 1- Cover; Copyright; Credits; About the Authors; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: 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; Chapter 2: Understanding the Fundamentals; Introduction; Building a SessionFactory.
  • 2- Creating a generic SessionFactory provider classOpening 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; Chapter 3: Basic Annotations; Introduction; Declaring a class as an entity and creating a table in the database
  • 3- @Entity and @Table; Creating a column in the table
  • 4- @Column.
  • 5- Creating a primary key and composite primary key column
  • 6- @Id and @IdClassCreating an autogenerator column; Chapter 4: Working with Collections; Introduction; Persisting List; Persisting Set; Persisting Map; Persisting Array; Chapter 5: 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; Chapter 6: Querying; Introduction; Working with an alias; Performing aggregate operations.
  • 7- Executing a subquery using a criteriaExecuting a native SQL query; Executing a query using HQL; Using formula in hibernate; Working with NamedQuery; Chapter 7: 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.
  • 8- Working with batch processingChapter 8: Integration with Other Frameworks; Introduction; Integration with Spring; Integration with Struts; Index.

"Java Hibernate cookbook" Description:

Open Data:

Hibernate is a database independent technology, so the same code will work for all databases. It helps a Java developer write a query by mapping Java bean to database tables and help create tuned queries that boost performance. Even with limited SQL knowledge one can easily perform database operations. This makes the development faster and more accurate than JDBC. Hibernate supports useful features like connection pooling, caching, and inheritance etc. This book will provide a useful hands-on guide to Hibernate to accomplish the development of a real-time Hibernate application. We will start with the basics of Hibernate, which include setting up Hibernate - the pre-requisites and multiple ways of configuring Hibernate using Java. We will then dive deep into the fundamentals of Hibernate such as SessionFactory, session, criteria, working with objects and criteria. This will help a developer have a better understanding of how Hibernate works and what needs to be done to run a Hibernate application. Moving on, we will learn how to work with annotations, associations and collections. In the final chapters, we will see explore querying, advanced Hibernate concepts and integration with other frameworks

Read “Java Hibernate cookbook”:

Read “Java Hibernate cookbook” by choosing from the options below.

Search for “Java Hibernate cookbook” downloads:

Visit our Downloads Search page to see if downloads are available.

Borrow "Java Hibernate cookbook" Online:

Check on the availability of online borrowing. Please note that online borrowing has copyright-based limitations and that the quality of ebooks may vary.

Find “Java Hibernate cookbook” in Libraries Near You:

Read or borrow “Java Hibernate cookbook” from your local library.

Buy “Java Hibernate cookbook” online:

Shop for “Java Hibernate cookbook” on popular online marketplaces.


Related Books

Related Ebooks

Source: The Open Library

E-Books

Related Ebooks from the Open Library and The Internet Archive.

1Java Hibernate cookbook - Ebook

Please note that the files availability may be limited due to copyright restrictions.
Check the files availability here, with more info and coverage.

“Java Hibernate cookbook - Ebook” Metadata:

  • Title: ➤  Java Hibernate cookbook - Ebook