Online Training Spring Hibernate Training in Delhi R Programming Training Course Big Data and Hadoop Training Java Training

Hibernate Types

This section gives you description of all the Types that are supported by Hibernate. A Hibernate Type is used to map a Java property type to a JDBC type or types.

Ads

Tutorials   
When should you use Hibernate? What's new in Hibernate 5? How much time it takes to learn Hibernate? Hibernate envers custom revinfo table Hibernate 5 Envers Hibernate Envers get all revisions Hibernate Examples Hibernate 5 build SessionFactory Example Hibernate 5 SessionFactory Example Hibernate 5 Annotation Example How to download Hibernate 5.x? Hibernate 5 Features Hibernate 5 Tutorials Learning Hibernate ORM - Free Training/Tutorial videos of Hibernate ORM with Java How to write hello world example program in Hibernate? How to create one to one relationship in Hibernate 4 with Annotation? How to calculate minimum in Hibernate using the min() Function Hibernate ORM 4.2.21.Final Released - Create CURD application in latest Hibernate Hibernate ORM 4.2.21 Tutorial - Learn Hibernate ORM Framework Hibernate Error: Failed to create sessionFactory object.java.lang.NoClassDefFoundError How to create Hibernate Project in Eclipse? Examples of Hibernate Criteria Query Hibernate ORM 4.3.6.Final released Hibernate ORM 4.2.14.Final released Hibernate 4.3.4 Released: Hibernate 4.3.4.Final Maven dependency Hibernate association and join example Learn Hibernate programming with Examples Introduction to Hibernate Framework Hibernate Tutorial: Learn Hibernate with examples Hibernate 4.3 Hello World: Example Hibernate ORM 4.3.1.Final released How to create SessionFactory in Hibernate 4.3.1? Hibernate 4 Hello World: Example of Hello World program Hibernate 4 create Session Factory: Example of creating Session Factory in Hibernate 4 Hibernate 4.3 and JPA 2.1 Example What is Hibernate in Java? Hibernate Overview and Architecture What is JPA 2.1? Hibernate 4.3.0.Final Maven dependency Hibernate 4.3 ORM Features Hibernate 4.3 Tutorial Hibernate Criteria average example Hibernate Criteria load all objects from table Hibernate Criteria Hibernate ORM 4.3.0.Final released Hibernate beginner tutorial Hibernate Session.delete() Example Hibernate save or update method example Hibernate Load Example Hibernate save Example - Rose India Hibernate 4 tutorials
Ads

Hibernate Types

Back to Hibernate Tutorials Page

This section gives you description of all the Types that are supported by Hibernate. A Hibernate Type is used to map a Java property type to a JDBC type or types. 

The following tables to represents all Hibernate types:

Interfaces and Descriptions:
AbstractComponentType The AbstractComponentType enables other Component-like types to hold collections and have cascades, etc.
AssociationType This interface used to represent all associations between entities.
DiscriminatorType This interface used to discriminator properties with the help of right mapped subclass.
IdentifierType This interface has All identifiers of entities.
LiteralType This is a maker interface that which store SQL literals.
Type This interface describes mapping between the Java and JDBC datatypes
VersionType This interface used for version stamping.

 

Classes and Descriptions:
AbstractBynaryType The stream of byte bounded into a VAQRBINARY.
AbstractCharArrayType The stream of char bounded into a VARCHAR.
AbstractType This is a superclass that can be used for creating type hierarchy.
AdaptedImmutableType
AnyType It defines 'any' mappings and deprecated 'object' types.
AnyType.ObjectTypeCacheEntry
ArrayType It represents collection of data into a similar types.
BagType
BigDecimaType This class used to mapping between SQL NUMERIC and java.math.BigDecimal.
BigIntegerType This class used to mapping between SQL NUMERIC and java.math.BigInteger.
BinaryType It used to mapping between a SQL VARBINARY and a Java byte[]. 
BlobType It used to mapping between a SQL BLOB and java.sql.Blob.
BooleanType This class maps between SQL BIT and Java Boolean.
ByteType This class maps between SQL TINYINT  and Java Byte.
CalendarDateType This class represents a data and mapping into a Calendar object.
CalendarType It also represents a datetime mapping into a Calendar object.
CharacterArrayType It is a collection of VARCHAR like: Character[].
CharacterType This class mapping between a SQL CHAR and a Java Character.
CharArrayType It is a collection of VARCHAR like: char[].
CharBooleanType This is a superclass that can be mapping between SQL CHAR and Java boolean.
ClassType This class mapping between SQL VARCHAR and Java class.
ClobType This class mapping between SQL CLOB and java.sql.Clob.
CollectionType It handles the Hibernate PersistentCollections.
ComponentType This class mapping all components.
CompositeCustomType It adjusts CompositeUserType to Type interface.;
CurrencyType It is used to mapping a SQL VARCHAR into a java.util.Currency.
CustomCollectionType This class is created by users and implement the PersistentCollection.
CustomType It adjusts the user type to generic type interface and changes the internal type contracts.
DateType This class mapping between an SQL DATE to Java Date.
DbTimestampType  
DoubleType It can be used to mapping between SQL DOUBLE to Java Double.
EmbeddedComponentType  
EntityType It communicates an entity class.
FloatType It links SQL FLOAT to Java Float.
ForeignKeyDirection This class shows directionality of the foreign key constraint.
IdentifierBagType  
ImmutableType This is a superclass of the nullable immutable type.
IntegerType This class links between the SQL INT to Java Integer.
ListType  
LocaleType It links into an SQL VARCHAR and a Java Locale.
LongType This class links into an SQL BIGINT and a Java Long.
ManyToOneType It associates many-to-one entity.
MapType  
MetaType  
MutableType This is a superclass of mutable nullable types.
NullableType This is a supperclass of single-column nullable types.
OneToOneType It associates one-to-one entity.
OrderedMapType  
OrderedSetType  
PrimitiveType This is the superclass of primitive or primitive wrappers types.
SerializableType This class maps an SQL VARBINARY to a serializable Java object.
SetType  
ShortType It communicates between an SQL SMALLINT and Java Short.
SortedMapType  
SortedSetType  
SpacialOneToOneType  
StringType It communicates between an SQL VARCHAR and Java String.
TextType This class links between an SQL CLOB and Java String.
TimestampType This class mapping between an SQL TIMESTAMP and Java java.util.Date or java.sql.Timestamp.
TimeType It maps an SQL TIME to  Java java.util.Date or java.sql.Time.
TimeZoneType It communicates an SQL  VARCHAR to Java java.util.TimeZone.
TrueFalseType This class maps an SQL CHAR to a Java Boolean.
TypeFactory This class used internally and holds an instance of Type.
WrapperBinaryType  
YesNoType It maps between an SQL CHAR to Java Boolean.

 

Exceptions and Descriptions:
SerializationException This exception occurs when the property could not be serialized or deserialized.

Advertisements

Ads
Share on Google+Share on Google+

Hibernate Types

Posted on: December 18, 2008 If you enjoyed this post then why not add us on Google+? Add us to your Circles

Advertisements

Ads
 

Discuss: Hibernate Types   View All Comments

Post your Comment


Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
 
 
Comments:0

Ads

 

Ads