Hibernate
-
Enterprise Java
How to map PostgreSQL Enums to JPA entity properties using Hibernate
Introduction The open-source hibernate-types project allows you to map JSON, ARRAY, YearMonth, Month or database-specific columns (e.g. INET addresses). In…
Read More » -
Enterprise Java
Hibernate Interview Questions and Answers – The ULTIMATE List
This is a summary of some of the most important questions concerning the Hibernate Framework, that you may be asked…
Read More » -
Enterprise Java
Spring Hibernate Tutorial
1. Introduction In this post, we shall demonstrate how to leverage the power of one of the most popular ORM…
Read More » -
Enterprise Java
JPA Tips: Avoiding the N + 1 select problem
Introduction ORM frameworks like JPA simplifies our development process by helping us to avoid lots of boilerplate code during the…
Read More » -
Enterprise Java
Spring Boot & JPA & Hibernate & Oracle
In this tutorial we show how to create a Spring Boot application that communicates with an Oracle data source through…
Read More » -
Enterprise Java
Different Hibernate Naming Strategy
This article discusses about different naming strategy provided by hibernate along with the shift of naming strategy from hibernate.ejb.naming_strategy in…
Read More » -
Enterprise Java
How to map JSON collections using JPA and Hibernate
Introduction The open-source hibernate-types project allows you to map Java objects or Jackson JsonNode as JPA entity properties. Recently, thanks…
Read More » -
Enterprise Java
Hibernate Architecture Overview
The diagram below provides a high-level view of the Hibernate architecture: Minimal architecture The “minimal” architecture has the application manage…
Read More » -
企业级Java
Hibernate教程-终极指南
编者按:Hibernate ORM(简称Hibernate)是一个对象-关系映射框架,用于将面向对象的域模型转换为传统的关系数据库。Hibernate通过将直接的持久性相关的数据库访问替换掉,而高级对象处理功能来替换,解决了对象-关系间不匹配的问题。 Hibernate是最流程的Java框架之一。为此,我们在Java Code Geeks提供了大量的教程,点击这里查看它们。 现在,我们想要创建一个独立的、具有参考性的文章,来提供一个关于如何使用Hibernate的框架,并且帮助你快速开启你的Hibernate应用开发。开始享受吧! 目录 1. 简介 2. 项目搭建 3. 基础知识 3.1. SessionFactory 和Session 3.2. 事务(Transactions) 3.3. 表(Tables) 4. 继承(Inheritance) 5.…
Read More »