mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-09 04:34:49 +00:00
HHH-7777 - Deprecate XmlRepresentableType
(cherry picked from commit bcd15dc0eb7a07e5b44594c301e9564e8fce5d17)
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 @@
|
||||
* 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…
x
Reference in New Issue
Block a user