org.springframework.orm.hibernate3.support |
Classes supporting the org.springframework.orm.hibernate3 package.
Contains a DAO base class for HibernateTemplate usage.
|
Java Source File Name | Type | Comment |
AbstractLobType.java | Class | Abstract base class for Hibernate UserType implementations that map to LOBs. |
BlobByteArrayType.java | Class | Hibernate UserType implementation for byte arrays that get mapped to BLOBs.
Retrieves the LobHandler to use from LocalSessionFactoryBean at config time.
Can also be defined in generic Hibernate mappings, as DefaultLobCreator will
work with most JDBC-compliant database drivers. |
BlobSerializableType.java | Class | Hibernate UserType implementation for arbitrary objects that get serialized to BLOBs.
Retrieves the LobHandler to use from LocalSessionFactoryBean at config time.
Can also be defined in generic Hibernate mappings, as DefaultLobCreator will
work with most JDBC-compliant database drivers. |
BlobStringType.java | Class | Hibernate UserType implementation for Strings that get mapped to BLOBs.
Retrieves the LobHandler to use from LocalSessionFactoryBean at config time.
This is intended for the (arguably unnatural, but still common) case
where character data is stored in a binary LOB. |
ClobStringType.java | Class | Hibernate UserType implementation for Strings that get mapped to CLOBs.
Retrieves the LobHandler to use from LocalSessionFactoryBean at config time.
Particularly useful for storing Strings with more than 4000 characters in an
Oracle database (only possible via CLOBs), in combination with OracleLobHandler.
Can also be defined in generic Hibernate mappings, as DefaultLobCreator will
work with most JDBC-compliant database drivers. |
HibernateDaoSupport.java | Class | Convenient super class for Hibernate-based data access objects.
Requires a
org.hibernate.SessionFactory to be set, providing a
org.springframework.orm.hibernate3.HibernateTemplate based on it to
subclasses through the
HibernateDaoSupport.getHibernateTemplate() method.
Can alternatively be initialized directly with a HibernateTemplate,
in order to reuse the latter's settings such as the SessionFactory,
exception translator, flush mode, etc.
This base class is mainly intended for HibernateTemplate usage but can
also be used when working with a Hibernate Session directly, for example
when relying on transactional Sessions. |
IdTransferringMergeEventListener.java | Class | Extension of Hibernate's DefaultMergeEventListener, transferring the ids
of newly saved objects to the corresponding original objects (that are part
of the detached object graph passed into the merge method).
Transferring newly assigned ids to the original graph allows for continuing
to use the original object graph, despite merged copies being registered with
the current Hibernate Session. |
OpenSessionInViewFilter.java | Class | Servlet 2.3 Filter that binds a Hibernate Session to the thread for the entire
processing of the request. |
OpenSessionInViewInterceptor.java | Class | Spring web request interceptor that binds a Hibernate Session to the thread for the
entire processing of the request. |
ScopedBeanInterceptor.java | Class | Hibernate3 interceptor used for getting the proper entity name for scoped
beans. |