Package | Description |
---|---|
org.hibernate.boot |
This package contains the contracts that make up the Hibernate native
bootstrapping API (building a SessionFactory).
|
org.hibernate.cfg |
This package defines APIs for configuring Hibernate, and classes
for building the Hibernate configuration-time metamodel.
|
org.hibernate.internal |
An internal package containing mostly implementations of central Hibernate APIs.
|
org.hibernate.internal.util |
Internal utility classes.
|
Modifier and Type | Method and Description |
---|---|
MetadataSources |
MetadataSources.addCacheableFileStrictly(java.io.File file)
INTENDED FOR TESTSUITE USE ONLY!
Much like
MetadataSources.addCacheableFile(java.io.File) except that here we will fail immediately if
the cache version cannot be found or used for whatever reason |
Modifier and Type | Method and Description |
---|---|
Configuration |
Configuration.addCacheableFileStrictly(java.io.File xmlFile)
INTENDED FOR TESTSUITE USE ONLY!
Much like
Configuration.addCacheableFile(File) except that here we will fail immediately if
the cache version cannot be found or used for whatever reason |
Modifier and Type | Method and Description |
---|---|
void |
CoreMessageLogger.unableToDeserializeCache(java.lang.String path,
SerializationException error) |
Modifier and Type | Method and Description |
---|---|
static java.lang.Object |
SerializationHelper.clone(java.io.Serializable object)
Deep clone an
Object using serialization. |
static java.lang.Object |
SerializationHelper.deserialize(byte[] objectData)
Deserializes an object from an array of bytes using the Thread Context
ClassLoader (TCCL).
|
static java.lang.Object |
SerializationHelper.deserialize(byte[] objectData,
java.lang.ClassLoader loader)
Deserializes an object from an array of bytes.
|
static <T> T |
SerializationHelper.deserialize(java.io.InputStream inputStream)
Deserializes an object from the specified stream using the Thread Context
ClassLoader (TCCL).
|
static java.lang.Object |
SerializationHelper.deserialize(java.io.InputStream inputStream,
java.lang.ClassLoader loader)
Deserializes an object from the specified stream using the Thread Context
ClassLoader (TCCL).
|
static <T> T |
SerializationHelper.doDeserialize(java.io.InputStream inputStream,
java.lang.ClassLoader loader,
java.lang.ClassLoader fallbackLoader1,
java.lang.ClassLoader fallbackLoader2) |
static byte[] |
SerializationHelper.serialize(java.io.Serializable obj)
Serializes an
Object to a byte array for
storage/serialization. |
static void |
SerializationHelper.serialize(java.io.Serializable obj,
java.io.OutputStream outputStream)
Serializes an
Object to the specified stream. |
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.