java.sql.Clob , java.sql.Blob , org.hibernate.type.Type
| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| public static final BigDecimalType | BIG_DECIMAL
Hibernate big_decimal type. |
| public static final BigIntegerType | BIG_INTEGER
Hibernate big_integer type. |
| public static final BinaryType | BINARY
Hibernate binary type. |
| public static final BlobType | BLOB
Hibernate blob type. |
| public static final BooleanType | BOOLEAN
Hibernate boolean type. |
| public static final ByteType | BYTE
Hibernate byte type. |
| public static final CalendarType | CALENDAR
Hibernate calendar type. |
| public static final CalendarDateType | CALENDAR_DATE
Hibernate calendar_date type. |
| public static final CharArrayType | CHAR_ARRAY
Hibernate char[] type. |
| public static final CharacterType | CHARACTER
Hibernate character type. |
| public static final CharacterArrayType | CHARACTER_ARRAY
Hibernate Character[] type. |
| public static final PrimitiveCharacterArrayClobType | CHARACTERS_CLOB
Hibernate characters_clob type. |
| public static final ClassType | CLASS
Hibernate class type. |
| public static final ClobType | CLOB
Hibernate clob type. |
| public static final CurrencyType | CURRENCY
Hibernate currency type. |
| public static final DateType | DATE
Hibernate date type. |
| public static final DoubleType | DOUBLE
Hibernate double type. |
| public static final FloatType | FLOAT
Hibernate float type. |
| public static final ImageType | IMAGE
Hibernate image type. |
| public static final IntegerType | INTEGER
Hibernate integer type. |
| public static final LocaleType | LOCALE
Hibernate locale type. |
| public static final LongType | LONG
Hibernate long type. |
| public static final MaterializedBlobType | MATERIALIZED_BLOB
Hibernate materialized_blob type. |
| public static final MaterializedClobType | MATERIALIZED_CLOB
Hibernate materialized_clob type. |
| public static final ObjectType | OBJECT
Hibernate object type. |
| public static final SerializableType | SERIALIZABLE
Hibernate serializable type. |
| public static final ShortType | SHORT
Hibernate short type. |
| public static final StringType | STRING
Hibernate string type. |
| public static final TextType | TEXT
Hibernate text type. |
| public static final TimeType | TIME
Hibernate time type. |
| public static final TimestampType | TIMESTAMP
Hibernate timestamp type. |
| public static final TimeZoneType | TIMEZONE
Hibernate timezone type. |
| public static final TrueFalseType | TRUE_FALSE
Hibernate true_false type. |
| public static final WrapperBinaryType | WRAPPER_BINARY
Hibernate wrapper-binary type. |
| public static final CharacterArrayClobType | WRAPPER_CHARACTERS_CLOB
Hibernate wrapper_characters_clob type. |
| public static final WrappedMaterializedBlobType | WRAPPER_MATERIALIZED_BLOB
Hibernate wrapper_materialized_blob type. |
| public static final YesNoType | YES_NO
Hibernate yes_no type. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static Type | |
| public static void | |
| public static Blob | Returns: the Bloba byte array bytes)
Deprecated
Use
Create a new LobHelper#createBlob(byte[]) instead.
Blob.
|
| public static Blob | Returns: the Bloba byte array bytes, Session The session in which the session)Blob will be used.
Deprecated
Use
Create a new LobHelper#createBlob(byte[]) instead on the LobHelper obtained from
Session#getLobHelper()
Blob.
|
| public static Blob | Returns: the Bloba binary stream stream, int the number of bytes in the stream length)
Deprecated
Use
Create a new LobHelper#createBlob(InputStream, long) instead.
Blob.
|
| public static Blob | Returns: the Bloba binary stream stream, long the number of bytes in the stream length)
Deprecated
Use
Create a new LobHelper#createBlob(InputStream, long) instead.
Blob.
|
| public static Blob | Returns: the Bloba binary stream stream, long the number of bytes in the stream length, Session The session in which the session)Blob will be used.
Deprecated
Use
Create a new LobHelper#createBlob(InputStream, long) instead.
Blob.
|
| public static Blob | Returns: the Bloba binary stream stream)
Deprecated
With no direct replacement. Use
Create a new createBlob(InputStream, long) instead, passing in the length
Blob.
|
| public static Clob | Returns: The createdClobThe string data string)
Deprecated
Use
Create a new LobHelper#createClob(String) instead
Clob.
|
| public static Clob | Returns: The createdClobThe string data string, Session The session in which the session)Clob will be used.
Deprecated
Use
Create a new LobHelper#createClob(String) instead on the LobHelper obtained from
Session#getLobHelper()
Clob.
|
| public static Clob | Returns: The createdCloba character stream reader, int the number of characters in the stream length)
Deprecated
Use
Create a new LobHelper#createClob(Reader, long) instead
Clob.
|
| public static Clob | Returns: The createdCloba character stream reader, long the number of characters in the stream length)
Deprecated
Use
Create a new LobHelper#createClob(Reader, long) instead
Clob.
|
| public static Clob | Returns: The createdCloba character stream reader, long the number of characters in the stream length, Session The session in which the session)Clob will be used.
Deprecated
Use
Create a new LobHelper#createClob(Reader, long) instead
Clob.
|
| public static Type | custom(Class<T> userTypeClass)
Deprecated
Use
DO NOT USE!
TypeHelper#custom instead; see http://opensource.atlassian.com/projects/hibernate/browse/HHH-5182
|
| public static Type | custom(Class<T> userTypeClass, String[] parameterNames, String[] parameterValues)
Deprecated
Use
DO NOT USE!
TypeHelper#custom instead; see http://opensource.atlassian.com/projects/hibernate/browse/HHH-5182
|
| public static Type | custom(Class<T> userTypeClass, Properties parameters)
Deprecated
Use
DO NOT USE!
TypeHelper#custom instead; see http://opensource.atlassian.com/projects/hibernate/browse/HHH-5182
|
| public static Type | entity(Class<T> persistentClass)
Deprecated
Use
DO NOT USE!
TypeHelper#entity instead; see http://opensource.atlassian.com/projects/hibernate/browse/HHH-5182
|
| public static Type | entity(String entityName)
Deprecated
Use
DO NOT USE!
TypeHelper#entity instead; see http://opensource.atlassian.com/projects/hibernate/browse/HHH-5182
|
| public static Class | |
| public static LobCreator | |
| public static LobCreator | |
| public static void | initialize(Object
a persistable object, proxy, persistent collection or null proxy)Force initialization of a proxy or persistent collection. |
| public static boolean | Returns: true if the argument is already initialized, or is not a proxy or collectiona persistable object, proxy, persistent collection or null proxy)Check if the proxy or persistent collection is initialized. |
| public static boolean | Returns: true if the named property of the object is not listed as uninitialized; false otherwiseThe potential proxy proxy, String the name of a persistent attribute of the object propertyName)Check if the property is initialized. |
| public static Type | serializable(Class<T>
The serializableClass)java. implementor class.
Deprecated
Use
A Hibernate serializable type.
SerializableType#SerializableType instead.
|
| private static Properties |
| BIG_DECIMAL | back to summary |
|---|---|
| public static final BigDecimalType BIG_DECIMAL
Deprecated Use Hibernate big_decimal type. | |
| BIG_INTEGER | back to summary |
|---|---|
| public static final BigIntegerType BIG_INTEGER
Deprecated Use Hibernate big_integer type. | |
| BINARY | back to summary |
|---|---|
| public static final BinaryType BINARY
Deprecated Use Hibernate binary type. | |
| BLOB | back to summary |
|---|---|
| public static final BlobType BLOB
Deprecated Use Hibernate blob type. | |
| BOOLEAN | back to summary |
|---|---|
| public static final BooleanType BOOLEAN
Deprecated Use Hibernate boolean type. | |
| BYTE | back to summary |
|---|---|
| public static final ByteType BYTE
Deprecated Use Hibernate byte type. | |
| CALENDAR | back to summary |
|---|---|
| public static final CalendarType CALENDAR
Deprecated Use Hibernate calendar type. | |
| CALENDAR_DATE | back to summary |
|---|---|
| public static final CalendarDateType CALENDAR_DATE
Deprecated Use Hibernate calendar_date type. | |
| CHAR_ARRAY | back to summary |
|---|---|
| public static final CharArrayType CHAR_ARRAY
Deprecated Use Hibernate char[] type. | |
| CHARACTER | back to summary |
|---|---|
| public static final CharacterType CHARACTER
Deprecated Use Hibernate character type. | |
| CHARACTER_ARRAY | back to summary |
|---|---|
| public static final CharacterArrayType CHARACTER_ARRAY
Deprecated Use Hibernate Character[] type. | |
| CHARACTERS_CLOB | back to summary |
|---|---|
| public static final PrimitiveCharacterArrayClobType CHARACTERS_CLOB
Deprecated Use Hibernate characters_clob type. | |
| CLASS | back to summary |
|---|---|
| public static final ClassType CLASS
Deprecated Use Hibernate class type. | |
| CLOB | back to summary |
|---|---|
| public static final ClobType CLOB
Deprecated Use Hibernate clob type. | |
| CURRENCY | back to summary |
|---|---|
| public static final CurrencyType CURRENCY
Deprecated Use Hibernate currency type. | |
| DATE | back to summary |
|---|---|
| public static final DateType DATE
Deprecated Use Hibernate date type. | |
| DOUBLE | back to summary |
|---|---|
| public static final DoubleType DOUBLE
Deprecated Use Hibernate double type. | |
| FLOAT | back to summary |
|---|---|
| public static final FloatType FLOAT
Deprecated Use Hibernate float type. | |
| IMAGE | back to summary |
|---|---|
| public static final ImageType IMAGE
Deprecated Use Hibernate image type. | |
| INTEGER | back to summary |
|---|---|
| public static final IntegerType INTEGER
Deprecated Use Hibernate integer type. | |
| LOCALE | back to summary |
|---|---|
| public static final LocaleType LOCALE
Deprecated Use Hibernate locale type. | |
| LONG | back to summary |
|---|---|
| public static final LongType LONG
Deprecated Use Hibernate long type. | |
| MATERIALIZED_BLOB | back to summary |
|---|---|
| public static final MaterializedBlobType MATERIALIZED_BLOB
Deprecated Use Hibernate materialized_blob type. | |
| MATERIALIZED_CLOB | back to summary |
|---|---|
| public static final MaterializedClobType MATERIALIZED_CLOB
Deprecated Use Hibernate materialized_clob type. | |
| OBJECT | back to summary |
|---|---|
| public static final ObjectType OBJECT
Deprecated Use Hibernate object type. | |
| SERIALIZABLE | back to summary |
|---|---|
| public static final SerializableType<T extends Serializable> SERIALIZABLE
Deprecated Use Hibernate serializable type. | |
| SHORT | back to summary |
|---|---|
| public static final ShortType SHORT
Deprecated Use Hibernate short type. | |
| STRING | back to summary |
|---|---|
| public static final StringType STRING
Deprecated Use Hibernate string type. | |
| TEXT | back to summary |
|---|---|
| public static final TextType TEXT
Deprecated Use Hibernate text type. | |
| TIME | back to summary |
|---|---|
| public static final TimeType TIME
Deprecated Use Hibernate time type. | |
| TIMESTAMP | back to summary |
|---|---|
| public static final TimestampType TIMESTAMP
Deprecated Use Hibernate timestamp type. | |
| TIMEZONE | back to summary |
|---|---|
| public static final TimeZoneType TIMEZONE
Deprecated Use Hibernate timezone type. | |
| TRUE_FALSE | back to summary |
|---|---|
| public static final TrueFalseType TRUE_FALSE
Deprecated Use Hibernate true_false type. | |
| WRAPPER_BINARY | back to summary |
|---|---|
| public static final WrapperBinaryType WRAPPER_BINARY
Deprecated Use Hibernate wrapper-binary type. | |
| WRAPPER_CHARACTERS_CLOB | back to summary |
|---|---|
| public static final CharacterArrayClobType WRAPPER_CHARACTERS_CLOB
Deprecated Use Hibernate wrapper_characters_clob type. | |
| WRAPPER_MATERIALIZED_BLOB | back to summary |
|---|---|
| public static final WrappedMaterializedBlobType WRAPPER_MATERIALIZED_BLOB
Deprecated Use Hibernate wrapper_materialized_blob type. | |
| YES_NO | back to summary |
|---|---|
| public static final YesNoType YES_NO
Deprecated Use Hibernate yes_no type. | |
| Hibernate | back to summary |
|---|---|
| private Hibernate() Cannot be instantiated. | |
| any | back to summary |
|---|---|
| public static Type any(Type metaType, Type identifierType)
Deprecated Use DO NOT USE!
| |
| close | back to summary |
|---|---|
| public static void close(Iterator<E> iterator) throws HibernateException Close an Iterator created by iterate() immediately, instead of waiting until the session is closed or disconnected.
| |
| createBlob | back to summary |
|---|---|
| public static Blob createBlob(byte[] bytes)
Deprecated Use Create a new
| |
| createBlob | back to summary |
|---|---|
| public static Blob createBlob(byte[] bytes, Session session)
Deprecated Use Create a new | |
| createBlob | back to summary |
|---|---|
| public static Blob createBlob(InputStream stream, int length)
Deprecated Use Create a new
| |
| createBlob | back to summary |
|---|---|
| public static Blob createBlob(InputStream stream, long length)
Deprecated Use Create a new
| |
| createBlob | back to summary |
|---|---|
| public static Blob createBlob(InputStream stream, long length, Session session)
Deprecated Use Create a new
| |
| createBlob | back to summary |
|---|---|
| public static Blob createBlob(InputStream stream) throws IOException
Deprecated With no direct replacement. Use Create a new Note this method will read the entire contents of the incoming stream in order to properly
handle the
| |
| createClob | back to summary |
|---|---|
| public static Clob createClob(String string)
Deprecated Use Create a new | |
| createClob | back to summary |
|---|---|
| public static Clob createClob(String string, Session session)
Deprecated Use Create a new | |
| createClob | back to summary |
|---|---|
| public static Clob createClob(Reader reader, int length)
Deprecated Use Create a new | |
| createClob | back to summary |
|---|---|
| public static Clob createClob(Reader reader, long length)
Deprecated Use Create a new | |
| createClob | back to summary |
|---|---|
| public static Clob createClob(Reader reader, long length, Session session)
Deprecated Use Create a new | |
| custom | back to summary |
|---|---|
| public static Type custom(Class<T> userTypeClass)
Deprecated Use DO NOT USE!
| |
| custom | back to summary |
|---|---|
| public static Type custom(Class<T> userTypeClass, String[] parameterNames, String[] parameterValues)
Deprecated Use DO NOT USE!
| |
| custom | back to summary |
|---|---|
| public static Type custom(Class<T> userTypeClass, Properties parameters)
Deprecated Use DO NOT USE!
| |
| entity | back to summary |
|---|---|
| public static Type entity(Class<T> persistentClass)
Deprecated Use DO NOT USE!
| |
| entity | back to summary |
|---|---|
| public static Type entity(String entityName)
Deprecated Use DO NOT USE!
| |
| getClass | back to summary |
|---|---|
| public static Class Get the true, underlying class of a proxied persistent class. This operation will initialize a proxy by side-effect. | |
| getLobCreator | back to summary |
|---|---|
| public static LobCreator getLobCreator(Session session) | |
| getLobCreator | back to summary |
|---|---|
| public static LobCreator getLobCreator(SessionImplementor session) | |
| initialize | back to summary |
|---|---|
| public static void initialize(Object proxy) throws HibernateException Force initialization of a proxy or persistent collection. Note This only ensures intialization of a proxy object or collection; it is not guaranteed that the elements INSIDE the collection will be initialized/materialized.
| |
| isInitialized | back to summary |
|---|---|
| public static boolean isInitialized(Object proxy) Check if the proxy or persistent collection is initialized.
| |
| isPropertyInitialized | back to summary |
|---|---|
| public static boolean isPropertyInitialized(Object proxy, String propertyName) Check if the property is initialized. If the named property does not exist or is not persistent, this method always returns true. | |
| serializable | back to summary |
|---|---|
| public static Type serializable(Class<T> serializableClass)
Deprecated Use A Hibernate serializable type.
| |
| toProperties | back to summary |
|---|---|
| private static Properties toProperties(String[] parameterNames, String[] parameterValues) | |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public SessionFactoryImplementor |
| INSTANCE | back to summary |
|---|---|
| public static final Hibernate. | |
| NoScope | back to summary |
|---|---|
| private NoScope() | |
| resolveFactory | back to summary |
|---|---|
| public SessionFactoryImplementor resolveFactory() Implements org. | |