Logo

    hibernate

    Explore "hibernate" with insightful episodes like "Hibernate 2nd Quarter 🌜🌛 2022", "Der Sinn der Lebens", "Der Sinn der Lebens", "ORM vale a pena utilizar para tudo?" and "Thought Platform - Nature" from podcasts like ""Casting 495 Celebrities Worldwide", "Code Culture", "Code Culture", "ArcHChannel" and "How Was Your Run Today? The Podcast"" and more!

    Episodes (38)

    Hibernate 2nd Quarter 🌜🌛 2022

    Hibernate 2nd Quarter 🌜🌛 2022
    The Easiest Way to Make Real Money Online

    Visit the Following Links
    https://bit.ly/autopilotmoneyrealworldmatrix

    Online Jobs, Offers, Daily Listings

    https://www.empirestatemoney.com

    Make Money Online With the John Crestani Program

    https://bit.ly/JohnCrestaniProgram

    NFTs for Sale New York Art Gallery Dealership

    https://t.co/G0ifUTJQ9e

    Business on TikTok

    https://www.tiktok.com/@multiverse495

    Latest Hip Hop Rap Trending by 495/L4

    https://soundcloud.com/onesirgrove495

    IG

    Twitter https://twitter.com/aonnrecords

    Hibernate 2nd Quarter 🌜🌛 2022

    Thought Platform - Nature

    Thought Platform - Nature

    We are skipping a new HWYRT episode this week, as we are busy preparing our third anniversary show! However, over the summer, Bryan and Peter released five episodes of Thought Platform, their new conversation podcast. Here’s the first episode, Nature, for your listening pleasure. Please check out all the other episodes exclusively at RadioPublic:  

    https://radiopublic.com/thought-platform-Wa3nVb

    And please email us YOUR thoughts at thoughtplatform@gmail.com

    See you next week!

    Episode 39 - Jan 2018

    Episode 39 - Jan 2018

    In this episode, Kito, Danno, and Ian discuss their key areas of focus for the New Year, as well as naming for EE4J and Java EE, plus Polymer, PrimeNG, Bootstrap, Arquillian, Hibernate, Spring Cloud, Docker, Machine Learning, adoption of Agile practices, and more.

    UI Tier

    Polymer Decorators 1.0 Released

    Polymer 3.0: New year, new preview

    OmniFaces 3.0 Released

    PrimeNG 5.2.0-RC1 Released

    PrimeFaces EL Security Vulnerability

    Bootstrap 4 Released

    TypeScript 2.7.0 Released

    Java EE

    Joint Community Open Letter on Java EE Naming and Packaging (KM)

    EE4J: Current Status and What’s Next

    Arquillian Core 1.2.1.Final Released

    Persistence Tier

    Hibernate Picked as Project of the Month on Sourceforge

    New Hibernate Community Forum

    Hibernate 5.9.0CR1 Released

    Services (Middleware & Microservices)

    Spring Cloud Data Flow 1.3.0.RC1 Released

    Misc

    Cortex Graphical AI Interface

    Machine Learning Guide Podcasts

    Picks

    (Any product, tool, etc. that you really like; doesn’t have to be related to programming)

     

    State of Scrum Report 2017-2018

    This Week in Tech (TWiT)

    Ubuntu MATE

    Ubuntu Mini

    Events

    ng-europe - Feb 1-2nd, 2018, Paris, France

    Devnexus - Feb 21st-23rd, 2018, Atlanta, GA, US

    ng-conf - April 18th-20th, 2018, Salt Lake City, Utah, US

    Great Indian Developer Summit (GIDS) - April 24-27th, 2018, Bangalore, India

    RiveriaDev - May 16-18, 2018, French Riviera, France

    No Fluff Just Stuff

    The Hidden World of Hibernation

    The Hidden World of Hibernation
    Does midwinter make you want to eat all the food in your fridge, curl up in a duvet and sleep until spring? You're not alone, many plants and animals feel the same way, but you might not be so keen when we tell you just what it would do to your body! Snuggle down as we explore the world of hibernation and how it might be used to help humans. Plus, in the news: detoxing debunked and the miracle of the microbiome. Like this podcast? Please help us by supporting the Naked Scientists

    Hibernate Group By

    Hibernate Group By

    In our last Hibernate lesson, you learned how to fix duplicate data from hibernate queries.

    In this lesson we’re going to focus on some of theaggregate functions that can be used with Hibernate, and of course that means diving into theGroup By clause.

    What’s important to note is that Hibernate doesn’t ever refer to it as group by, instead they use the term projections.

    So, armed with this knowledge, let’s jump into the lesson!

    Grouping Data with Hibernate

    In our examples, I’m going to show you how to create a query with hibernate that will group your data in some manner.

    When we build our query, we will be focusing on using Hibernate’s Criteria queries, which allows for a nice way to build queries without having to know any SQL.

    First, let’s start off with an example that we will build on.

    ...continue reading.

    Hibernate Group By

    Hibernate Group By

    In our last Hibernate lesson, you learned how to fix duplicate data from hibernate queries.

    In this lesson we’re going to focus on some of theaggregate functions that can be used with Hibernate, and of course that means diving into theGroup By clause.

    What’s important to note is that Hibernate doesn’t ever refer to it as group by, instead they use the term projections.

    So, armed with this knowledge, let’s jump into the lesson!

    Grouping Data with Hibernate

    In our examples, I’m going to show you how to create a query with hibernate that will group your data in some manner.

    When we build our query, we will be focusing on using Hibernate’s Criteria queries, which allows for a nice way to build queries without having to know any SQL.

    First, let’s start off with an example that we will build on.

    ...continue reading.

    Hibernate Group By

    Hibernate Group By

    In our last Hibernate lesson, you learned how to fix duplicate data from hibernate queries.

    In this lesson we’re going to focus on some of theaggregate functions that can be used with Hibernate, and of course that means diving into theGroup By clause.

    What’s important to note is that Hibernate doesn’t ever refer to it as group by, instead they use the term projections.

    So, armed with this knowledge, let’s jump into the lesson!

    Grouping Data with Hibernate

    In our examples, I’m going to show you how to create a query with hibernate that will group your data in some manner.

    When we build our query, we will be focusing on using Hibernate’s Criteria queries, which allows for a nice way to build queries without having to know any SQL.

    First, let’s start off with an example that we will build on.

    ...continue reading.

    Fixing Duplicate Data from Hibernate Queries

    Fixing Duplicate Data from Hibernate Queries

    How to Fix Duplicate Data from Hibernate Queries

    This problem was the bane of my existence when I first started using Hibernate because I had no idea where the problem was coming from.

    If you’re executing a query and finding that you have a bunch of duplicate records and haven’t a clue why, then you’re in the right place.

    You see the problem is typically caused by having left joins (or optional joins) in your objects. When you have a base object, like say User and it joins to another table/object in an optional One-to-Many or optional Many-to-Many format, then you may get duplicates.

    Consider this scenario… A User objects joins to the LoginHistory object, which keeps track of all the times a particularUser has logged into the system. And let’s say our user has logged in many times. You’ll have a situation where you have many records in the LoginHistory table.

    So what happens when you run a query that joins to the LoginHistory table? Well it will return as many rows as there are entries for that User in the LoginHistory table.

    So because of this, Hibernate doesn’t massage the data for you, it just returns exactly what it got from the database. The ball is in your court to tell Hibernate what to do with records it has retrieved.

    There are two solutions to this problem:

    1. Declare your joining object as a Set
    2. Make use of Distinct Root Entity Results Transformer

    Click Here to Keep Reading

    Fixing Duplicate Data from Hibernate Queries

    Fixing Duplicate Data from Hibernate Queries

    How to Fix Duplicate Data from Hibernate Queries

    This problem was the bane of my existence when I first started using Hibernate because I had no idea where the problem was coming from.

    If you’re executing a query and finding that you have a bunch of duplicate records and haven’t a clue why, then you’re in the right place.

    You see the problem is typically caused by having left joins (or optional joins) in your objects. When you have a base object, like say User and it joins to another table/object in an optional One-to-Many or optional Many-to-Many format, then you may get duplicates.

    Consider this scenario… A User objects joins to the LoginHistory object, which keeps track of all the times a particularUser has logged into the system. And let’s say our user has logged in many times. You’ll have a situation where you have many records in the LoginHistory table.

    So what happens when you run a query that joins to the LoginHistory table? Well it will return as many rows as there are entries for that User in the LoginHistory table.

    So because of this, Hibernate doesn’t massage the data for you, it just returns exactly what it got from the database. The ball is in your court to tell Hibernate what to do with records it has retrieved.

    There are two solutions to this problem:

    1. Declare your joining object as a Set
    2. Make use of Distinct Root Entity Results Transformer

    Click Here to Keep Reading

    Fixing Duplicate Data from Hibernate Queries

    Fixing Duplicate Data from Hibernate Queries

    How to Fix Duplicate Data from Hibernate Queries

    This problem was the bane of my existence when I first started using Hibernate because I had no idea where the problem was coming from.

    If you’re executing a query and finding that you have a bunch of duplicate records and haven’t a clue why, then you’re in the right place.

    You see the problem is typically caused by having left joins (or optional joins) in your objects. When you have a base object, like say User and it joins to another table/object in an optional One-to-Many or optional Many-to-Many format, then you may get duplicates.

    Consider this scenario… A User objects joins to the LoginHistory object, which keeps track of all the times a particularUser has logged into the system. And let’s say our user has logged in many times. You’ll have a situation where you have many records in the LoginHistory table.

    So what happens when you run a query that joins to the LoginHistory table? Well it will return as many rows as there are entries for that User in the LoginHistory table.

    So because of this, Hibernate doesn’t massage the data for you, it just returns exactly what it got from the database. The ball is in your court to tell Hibernate what to do with records it has retrieved.

    There are two solutions to this problem:

    1. Declare your joining object as a Set
    2. Make use of Distinct Root Entity Results Transformer

    Click Here to Keep Reading

    Hibernate Persistence Life Cycle

    Hibernate Persistence Life Cycle

    Now it’s time to dive into the nitty gritty of Hibernate’s mysterious inner workings.

    I’m by no means an expert in Hibernate, but I do use it almost every day for my own projects, so I do know a thing or two about how it works.

    One topic that had me scratching my head for ages was the Hibernate life cycle. What I mean by the life cycle is the way Hibernate interacts with Java objects at certain points in the existence of said Java objects.

    Let’s start from the beginning…

    What the heck is a Hibernate Life Cycle?

    You see, Hibernate is picky about your Java objects. Hibernate prefers your objects to be in a certain “state”, known as the persistent state… this persistent state is one of four different states that exist inside of the hibernate persistence life cycle.

    Once you have a firm grasp of the different states that an object can be in (as it pertains to Hibernate) you’ll be well on your way to mastering the Hibernate framework.

    So let’s get this Hibernate persistence life cycle lesson started shall we?

    Continue reading via: http://howtoprogramwithjava.com/session58

    Hibernate Persistence Life Cycle

    Hibernate Persistence Life Cycle

    Now it’s time to dive into the nitty gritty of Hibernate’s mysterious inner workings.

    I’m by no means an expert in Hibernate, but I do use it almost every day for my own projects, so I do know a thing or two about how it works.

    One topic that had me scratching my head for ages was the Hibernate life cycle. What I mean by the life cycle is the way Hibernate interacts with Java objects at certain points in the existence of said Java objects.

    Let’s start from the beginning…

    What the heck is a Hibernate Life Cycle?

    You see, Hibernate is picky about your Java objects. Hibernate prefers your objects to be in a certain “state”, known as the persistent state… this persistent state is one of four different states that exist inside of the hibernate persistence life cycle.

    Once you have a firm grasp of the different states that an object can be in (as it pertains to Hibernate) you’ll be well on your way to mastering the Hibernate framework.

    So let’s get this Hibernate persistence life cycle lesson started shall we?

    Continue reading via: http://howtoprogramwithjava.com/session58

    Hibernate Persistence Life Cycle

    Hibernate Persistence Life Cycle

    Now it’s time to dive into the nitty gritty of Hibernate’s mysterious inner workings.

    I’m by no means an expert in Hibernate, but I do use it almost every day for my own projects, so I do know a thing or two about how it works.

    One topic that had me scratching my head for ages was the Hibernate life cycle. What I mean by the life cycle is the way Hibernate interacts with Java objects at certain points in the existence of said Java objects.

    Let’s start from the beginning…

    What the heck is a Hibernate Life Cycle?

    You see, Hibernate is picky about your Java objects. Hibernate prefers your objects to be in a certain “state”, known as the persistent state… this persistent state is one of four different states that exist inside of the hibernate persistence life cycle.

    Once you have a firm grasp of the different states that an object can be in (as it pertains to Hibernate) you’ll be well on your way to mastering the Hibernate framework.

    So let’s get this Hibernate persistence life cycle lesson started shall we?

    Continue reading via: http://howtoprogramwithjava.com/session58

    Fetch Type Lazy Vs Eager

    Fetch Type Lazy Vs Eager

    What the heck is a Fetch Type?

    Great question! Hibernate is a very handy framework for removing your need to fully understand SQL, but it will force you to understand things such as joins.

    Joining two tables in SQL is the foundation of a relational database, as joins allow you to actually define relationships between tables (objects).

    Having said that, relationships are important to understand when talking about fetch types in Hibernate. This is the case because whenever you define a relationship in Hibernate, you’ll also need to define the fetch type. The fetch type essentially decides whether or not to load all of the relationships of a particular object/table as soon as the object/table is initially fetched.

    For more information please see the show notes via http://howtoprogramwithjava.com/session57

    Fetch Type Lazy Vs Eager

    Fetch Type Lazy Vs Eager

    What the heck is a Fetch Type?

    Great question! Hibernate is a very handy framework for removing your need to fully understand SQL, but it will force you to understand things such as joins.

    Joining two tables in SQL is the foundation of a relational database, as joins allow you to actually define relationships between tables (objects).

    Having said that, relationships are important to understand when talking about fetch types in Hibernate. This is the case because whenever you define a relationship in Hibernate, you’ll also need to define the fetch type. The fetch type essentially decides whether or not to load all of the relationships of a particular object/table as soon as the object/table is initially fetched.

    For more information please see the show notes via http://howtoprogramwithjava.com/session57

    Fetch Type Lazy Vs Eager

    Fetch Type Lazy Vs Eager

    What the heck is a Fetch Type?

    Great question! Hibernate is a very handy framework for removing your need to fully understand SQL, but it will force you to understand things such as joins.

    Joining two tables in SQL is the foundation of a relational database, as joins allow you to actually define relationships between tables (objects).

    Having said that, relationships are important to understand when talking about fetch types in Hibernate. This is the case because whenever you define a relationship in Hibernate, you’ll also need to define the fetch type. The fetch type essentially decides whether or not to load all of the relationships of a particular object/table as soon as the object/table is initially fetched.

    For more information please see the show notes via http://howtoprogramwithjava.com/session57