HHH-7777 - Deprecate XmlRepresentableType
(cherry picked from commit bcd15dc0eb
)
This commit is contained in:
parent
94e13074c1
commit
778c82b512
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue