本文整理汇总了Java中org.hibernate.type.descriptor.java.MutableMutabilityPlan类的典型用法代码示例。如果您正苦于以下问题:Java MutableMutabilityPlan类的具体用法?Java MutableMutabilityPlan怎么用?Java MutableMutabilityPlan使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
MutableMutabilityPlan类属于org.hibernate.type.descriptor.java包,在下文中一共展示了MutableMutabilityPlan类的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: AbstractArrayTypeDescriptor
import org.hibernate.type.descriptor.java.MutableMutabilityPlan; //导入依赖的package包/类
public AbstractArrayTypeDescriptor(Class<T> arrayObjectClass) {
super(
arrayObjectClass,
(MutabilityPlan<T>) new MutableMutabilityPlan<Object>() {
@Override
protected T deepCopyNotNull(Object value) {
return ArrayUtil.deepCopy(value);
}
}
);
this.arrayObjectClass = arrayObjectClass;
}
示例2: JsonTypeDescriptor
import org.hibernate.type.descriptor.java.MutableMutabilityPlan; //导入依赖的package包/类
public JsonTypeDescriptor() {
super(Object.class, new MutableMutabilityPlan<Object>() {
private static final long serialVersionUID = 1606718143878984537L;
@Override
protected Object deepCopyNotNull(Object value) {
return JacksonUtil.clone(value);
}
});
}
示例3: JsonTypeDescriptor
import org.hibernate.type.descriptor.java.MutableMutabilityPlan; //导入依赖的package包/类
public JsonTypeDescriptor() {
super( Object.class, new MutableMutabilityPlan<Object>() {
@Override
protected Object deepCopyNotNull(Object value) {
return JacksonUtil.clone(value);
}
});
}
示例4: AbstractArrayTypeDescriptor
import org.hibernate.type.descriptor.java.MutableMutabilityPlan; //导入依赖的package包/类
public AbstractArrayTypeDescriptor(Class<T> arrayObjectClass) {
super(arrayObjectClass, (MutabilityPlan<T>) new MutableMutabilityPlan<Object>() {
@Override
protected T deepCopyNotNull(Object value) {
return ArrayUtil.deepCopy(value);
}
});
this.arrayObjectClass = arrayObjectClass;
}
示例5: JsonTypeDescriptor
import org.hibernate.type.descriptor.java.MutableMutabilityPlan; //导入依赖的package包/类
public JsonTypeDescriptor() {
super(Object.class, new MutableMutabilityPlan<Object>() {
@Override
protected Object deepCopyNotNull(Object value) {
return JacksonUtil.clone(value);
}
});
}
示例6: JsonNodeTypeDescriptor
import org.hibernate.type.descriptor.java.MutableMutabilityPlan; //导入依赖的package包/类
public JsonNodeTypeDescriptor() {
super( JsonNode.class, new MutableMutabilityPlan<JsonNode>() {
@Override
protected JsonNode deepCopyNotNull(JsonNode value) {
return JacksonUtil.clone(value);
}
});
}