All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.hibernate.type.spi.TypeConfigurationAware Maven / Gradle / Ivy

There is a newer version: 5.6.15.Final
Show newest version
/*
 * Hibernate, Relational Persistence for Idiomatic Java
 *
 * License: GNU Lesser General Public License (LGPL), version 2.1 or later.
 * See the lgpl.txt file in the root directory or .
 */
package org.hibernate.type.spi;

/**
 * Optional contract for Types that would like to be part of the scoping process of the
 * TypeConfiguration, specifically to receive access to the TypeConfiguration it is scoped
 * to.  For additional information on TypeConfiguration scoping, see {@link TypeConfiguration}
 * 

* Note that it is illegal for a Type to implement TypeConfigurationAware and at the same time * be scoped to more than one TypeConfiguration. Hibernate will enforce this internally * which is why {@link #getTypeConfiguration()} is exposed here. * * @author Steve Ebersole */ public interface TypeConfigurationAware { TypeConfiguration getTypeConfiguration(); void setTypeConfiguration(TypeConfiguration typeConfiguration); }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy