HHH-7777 - Deprecate XmlRepresentableType

This commit is contained in:
Steve Ebersole 2012-11-12 08:54:55 -06:00
parent 97b1f0749e
commit bcd15dc0eb
1 changed files with 8 additions and 0 deletions

View File

@ -22,6 +22,7 @@
* Boston, MA 02110-1301 USA
*/
package org.hibernate.type;
import org.hibernate.HibernateException;
import org.hibernate.engine.spi.Mapping;
import org.hibernate.engine.spi.SessionFactoryImplementor;
@ -31,7 +32,14 @@ import org.hibernate.engine.spi.SessionFactoryImplementor;
* element value).
*
* @author Steve Ebersole
*
* @deprecated To be removed in 5. Use {@link StringRepresentableType} instead. See Jira issues
* <a href="https://hibernate.onjira.com/browse/HHH-7777">HHH-7777</a> and
* <a href="https://hibernate.onjira.com/browse/HHH-7776">HHH-7776</a> for details.
*
* @see StringRepresentableType
*/
@Deprecated
public interface XmlRepresentableType<T> {
public String toXMLString(T value, SessionFactoryImplementor factory) throws HibernateException;