public class

DoubleType

extends AbstractSingleColumnStandardBasicType<T>
implements PrimitiveType<T>
java.lang.Object
   ↳ org.hibernate.type.AbstractStandardBasicType<T>
     ↳ org.hibernate.type.AbstractSingleColumnStandardBasicType<T>
       ↳ org.hibernate.type.DoubleType

Class Overview

A type that maps between DOUBLE and Double

Summary

Fields
public static final DoubleType INSTANCE
public static final Double ZERO
Public Constructors
DoubleType()
Public Methods
Serializable getDefaultValue()
Get this type's default value.
String getName()
Class getPrimitiveClass()
Retrieve the primitive counterpart to the wrapper type identified by getReturnedClass().
String[] getRegistrationKeys()
Get the names under which this type should be registered in the type registry.
String objectToSQLString(Double value, Dialect dialect)
[Expand]
Inherited Methods
From class org.hibernate.type.AbstractSingleColumnStandardBasicType
From class org.hibernate.type.AbstractStandardBasicType
From class java.lang.Object
From interface org.hibernate.type.BasicType
From interface org.hibernate.type.LiteralType
From interface org.hibernate.type.PrimitiveType
From interface org.hibernate.type.SingleColumnType
From interface org.hibernate.type.StringRepresentableType
From interface org.hibernate.type.Type
From interface org.hibernate.type.XmlRepresentableType

Fields

public static final DoubleType INSTANCE

public static final Double ZERO

Public Constructors

public DoubleType ()

Public Methods

public Serializable getDefaultValue ()

Get this type's default value.

Returns
  • The default value.

public String getName ()

public Class getPrimitiveClass ()

Retrieve the primitive counterpart to the wrapper type identified by getReturnedClass().

Returns
  • The primitive Java type.

public String[] getRegistrationKeys ()

Get the names under which this type should be registered in the type registry.

Returns
  • The keys under which to register this type.

public String objectToSQLString (Double value, Dialect dialect)

Throws
Exception