Kawsar Ahmed Bhuiyankawsar.hashnode.dev·Sep 8, 2023Understanding FetchType, FetchMode, and Lazy Loading in JPA with HibernateJava Persistence API (JPA) is a powerful Java framework for managing relational data in applications. When working with JPA, it's crucial to understand how data is fetched from the database and how to control this behavior effectively. In this articl...Discuss·29 readshibernate
Satya Puranampuranamsatya.hashnode.dev·Sep 3, 2023Java Back-End Road Map for absolute BeginnersWhy only Java? Java is easy to learn. Platform Independent. WORA: stands for write once, run anywhere. Java is open-source and free of cost. Java has a Rich API. Learn the Basics of Programming Firstly concentrate on Core Java Concepts. Diff...Discuss·2 likes·43 readsJava
Maxat Akbanovbrain2life.hashnode.dev·Aug 20, 2023EC2 HibernationAmazon EC2 (Elastic Compute Cloud) Hibernation is a feature that allows you to pause and resume your EC2 instances, similar to hibernating a laptop. When an EC2 instance is hibernated, the in-memory state (RAM) is saved to the root EBS (Elastic Block...DiscussawsAWS
Manas Patramanasdroidtech.hashnode.dev·Aug 15, 2023JPA and Hibernate in simple terms.Let's first go by the conventional explanation of both of them. JPA stands for "Java Persistence API." It is a specification in the Java EE (Enterprise Edition) ecosystem that provides a standardized way to manage relational data in Java applications...Discussjpa
Nilesh Wanicodingmoments.hashnode.dev·Jul 29, 2023Execution order of SQL statements in JPA / HibernateIn my project, I was having a database table with a unique constraint on a column. Using Spring Data JPA, in the same transaction, I was first deleting a record from that table and then adding back a record with the same value for that unique column....Discuss·1 like·124 readshibernate
Asfaq Leeonleeonscoding.hashnode.dev·Jul 23, 2023Intro to Spring Data JPA. The Entity class and its annotationsJPA(Jakarta Persistence API) lets us map objects to a relational database. Formerly it was known as Java Persistence API. JPA is a specification of data persistence in Java applications. In this blog, I'm going to write about basic configurations and...Discussentity
Sohail Shahsohailshah.hashnode.dev·Jul 21, 2023JPA : One-To-Many, Many-To-One And Many-To-Many RelationshipsIn the previous post, we looked at one-to-one relationship. In this post, we will look at one-to-many, many-to-one, and many-to-many relationships. Many-To-One Relationship In a many-to-one relationship, multiple entities are associated with exactly ...DiscussJava
Sohail Shahsohailshah.hashnode.dev·Jul 11, 2023JPA: One-To-One Relationship, Fetch type, Relationship Direction, And Query OptimizationIn the previous posts, we had only a single entity called the student. Let's create another entity named the library card. The library card entity will have its own table in the database with its own primary id column. @Entity @Table(name = "library_...DiscussJava
Sohail Shahsohailshah.hashnode.dev·Jun 25, 2023Persisting non-primitive types in JPAIn this post, we'll look at how we can persist non-primitive data types in JPA. The primitive data types like int, char, byte, String, boolean, or their respective wrapper classes are mapped automatically by default into the correct database types by...DiscussJava
Sohail Shahsohailshah.hashnode.dev·Jun 21, 2023Know The JPA Persistence.xml FileIn the previous posts, we set up the Java project and connected it to a database with JPA, and hibernate. Let's look back on the persistence.xml file we created and understand it in more detail. The location of this file is src -> META-INF -> persis...Discuss·1 likeJava