Hibernate Tutorial

Intertech Tutorials

Hibernate Tutorial Objective

Overview

Hibernate has been described as the “open source darling ” that is gaining in popularity to solve Java object persistence in many applications. What is persistence or object persistence? Why is persisting objects so difficult and why would a technology like Hibernate help? In this chapter, these questions are addressed along with the general topic of object relational mapping. Whole companies have been built around solving the object relational mapping problem. Through this chapter, you will see the fertile field that has led to Hibernate’s ascension as a prominent tool to tackle this difficult problem.

Persistence:

Object Persistence:

Java Data Type SQL Data Type
String VARCHAR
String CHARACTER
String LONGVARCHAR
BigDecimal NUMERIC
BigDecimal DECIMAL
Boolean, boolean BIT
Integer, byte TINYINT
Integer, short SMALLINT
Integer, long BIGINT
Integer, int INTEGER
Float, float REAL
Double, double FLOAT
Double, double DOUBLE PRECISION

Object/Relational Paradigms:


Copyright (c) 2008-2013. Intertech, Inc. All Rights Reserved. This information is to be used exclusively as an online learning aid. Any attempts to copy, reproduce, or use for training is strictly prohibited.