Package ome.tools.hibernate

Hibernate specific tools for the OMERO Server Classes/Interfaces that implement Hibernate method mechanics for the OMERO server Related Documentation For more information, please see: TODO

See:
          Description

Interface Summary
ExtendedMetadata extension of the model metadata provided by SessionFactory.
ListAsSQLArrayUserType.ArrayFactory  
 

Class Summary
CurrentSessionContext Implementation of Hibernate's current_session_context_class extension point.
EventMethodInterceptor filter which can be added to any event type in order to catch execution.
EventMethodInterceptor.Action  
EventMethodInterceptor.DisableAction  
ExtendedMetadata.Immutables  
ExtendedMetadata.Impl Sole implementatino of ExtendedMetadata.
ExtendedMetadata.Locks inner class which wraps the information (index number, path, etc) related to what fields a particular object can lock.
HibernateUtils contains methods for reloading unloaded entities and nulled collections as well as determining the index of certain properties in a dehydrated Hiberante array.
ListAsSQLArrayUserType<T> Hibernate type to store Lists of primitives using SQL ARRAY.
ListAsSQLArrayUserType.BOOLEAN To use, define : hibernate.property type="ome.tools.hibernate.ListAsSQLArrayUserType$BOOLEAN" hibernate.column name="fieldName" sql-type="bool[]"
ListAsSQLArrayUserType.DATE To use, define : hibernate.property type="ome.tools.hibernate.ListAsSQLArrayUserType$DATE" hibernate.column name="fieldName" sql-type="timestamp[]"
ListAsSQLArrayUserType.DOUBLE To use, define : hibernate.property type="ome.tools.hibernate.ListAsSQLArrayUserType$DOUBLE" hibernate.column name="fieldName" sql-type="float8[]"
ListAsSQLArrayUserType.ENUM<E extends Enum<E>> Warning, this one is special.
ListAsSQLArrayUserType.FLOAT To use, define : hibernate.property type="ome.tools.hibernate.ListAsSQLArrayUserType$FLOAT" hibernate.column name="fieldName" sql-type="real[]"
ListAsSQLArrayUserType.INTEGER To use, define : hibernate.property type="ome.tools.hibernate.ListAsSQLArrayUserType$INTEGER" hibernate.column name="fieldName" sql-type="int[]"
ListAsSQLArrayUserType.STRING To use, define : hibernate.property type="ome.tools.hibernate.ListAsSQLArrayUserType$STRING" hibernate.column name="fieldName" sql-type="text[]"
ListAsSQLArrayUserType.STRING2 To use, define : hibernate.property type="ome.tools.hibernate.ListAsSQLArrayUserType$STRING2" hibernate.column name="fieldName" sql-type="text[]" Added by Josh
MySeqGenerator http://www.hibernate.org/296.html
ProxyCleanupFilter removes all proxies from a return graph to prevent ClassCastExceptions and Session Closed exceptions.
ProxyCleanupFilter.Interceptor wraps a filter for each invocation
ProxySafeFilter extension to ContextFilter to check for uninitialized Hibernate proxies before stepping into an entity or collection.
QueryBuilder Very thin wrapper around a StringBuilder to generate HQL queries.
ReloadFilter UpdateFilter subclass specialized for use with the Session.save(Object) (as opposed to Session.merge(Object)) method.
ReloadingRefreshEventListener responsible for responding to RefreshEvent. in particular in reloading the unloaded entities.
SecureMerge Helper originally from SimpleRoleProvider for merging admin objects.
SecurityFilter overrides FilterDefinitionFactoryBean in order to construct our security filter in code and not in XML.
SessionFactory Simple source of Thread-aware Session instances.
SessionHandler interceptor which delegates to HibernateInterceptor for stateless services but which keeps a WeakHashMap of sessions keyed by the stateful service reference.
SqlArray<T> Hibernate type to store a java array using SQL ARRAY.
SqlArray.BOOLEAN  
SqlArray.DATE  
SqlArray.DOUBLE  
SqlArray.FLOAT  
SqlArray.INTEGER  
SqlArray.STRING  
SqlArray.STRING2  
UpdateFilter responsible for correlating entity identities during multiple calls to merge.
 

Package ome.tools.hibernate Description

Hibernate specific tools for the OMERO Server

Classes/Interfaces that implement Hibernate method mechanics for the OMERO server

Related Documentation

For more information, please see:



OmeroJava Api

Version: 4.3.3-00d1137e-b2894

Copyright © 2009 The University of Dundee. All Rights Reserved.