Hibernate
-
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 » -
Enterprise Java
Hibernate Identity, Sequence and Table (Sequence) generator
Introduction In my previous post I talked about different database identifier strategies. This post will compare the most common surrogate…
Read More »