Best code examples for Hibernate ORM CompositeUserType class (org.hibernate.usertype.CompositeUserType)

These code examples were ranked by Codota’s semantic indexing as the best open source examples for Hibernate ORM CompositeUserType class.
You can now enable Codota on your own code to easily search and navigate your Java codebase.

Hibernate ORM CompositeUserType examples from Open Source projects
This code example shows how to use the following methods: getClass
 
	private static class TypeScopeImpl implements TypeFactory.TypeScope { 
		private SessionFactoryImplementor factory; 
 
		public void injectSessionFactory(SessionFactoryImplementor factory) { 
            if (this.factory != null) { 
				LOG.scopingTypesToSessionFactoryAfterAlreadyScoped( this.factory, factory ); 
			} 
            else { 
				LOG.trace( "Scoping types to session factory " + factory ); 
			} 
			this.factory = factory; 
		} 
 
		public SessionFactoryImplementor resolveFactory() { 
			if ( factory == null ) { 
				throw new HibernateException( "SessionFactory for type scoping not yet known" ); 
			} 
			return factory; 
		} 
Full Snippet Info
4
CodeRank