类org.hibernate.type.descriptor.java.ImmutableMutabilityPlan源码实例Demo

下面列出了怎么用org.hibernate.type.descriptor.java.ImmutableMutabilityPlan的API类实例代码及写法,或者点击链接到github查看源代码。

源代码1 项目: lams   文件: AttributeConverterTypeAdapter.java
@SuppressWarnings("unchecked")
public AttributeConverterTypeAdapter(
		String name,
		String description,
		JpaAttributeConverter<? extends T,?> attributeConverter,
		SqlTypeDescriptor sqlTypeDescriptorAdapter,
		Class modelType,
		Class jdbcType,
		JavaTypeDescriptor<T> entityAttributeJavaTypeDescriptor) {
	super( sqlTypeDescriptorAdapter, entityAttributeJavaTypeDescriptor );
	this.name = name;
	this.description = description;
	this.modelType = modelType;
	this.jdbcType = jdbcType;
	this.attributeConverter = attributeConverter;

	this.mutabilityPlan = entityAttributeJavaTypeDescriptor.getMutabilityPlan().isMutable()
			? new AttributeConverterMutabilityPlanImpl<T>( attributeConverter )
			: ImmutableMutabilityPlan.INSTANCE;

	log.debug( "Created AttributeConverterTypeAdapter -> " + name );
}
 
源代码2 项目: lams   文件: AdaptedImmutableType.java
@Override
@SuppressWarnings({ "unchecked" })
protected MutabilityPlan<T> getMutabilityPlan() {
	return ImmutableMutabilityPlan.INSTANCE;
}
 
源代码3 项目: sakai   文件: InstantTypeDescriptor.java
public InstantTypeDescriptor() {
    super(Instant.class, ImmutableMutabilityPlan.INSTANCE);
}
 
源代码4 项目: sakai   文件: InstantTypeDescriptor.java
public InstantTypeDescriptor() {
    super(Instant.class, ImmutableMutabilityPlan.INSTANCE);
}
 
源代码5 项目: tutorials   文件: LocalDateStringJavaDescriptor.java
public LocalDateStringJavaDescriptor() {
    super(LocalDate.class, ImmutableMutabilityPlan.INSTANCE);
}
 
源代码6 项目: tutorials   文件: LocalDateStringJavaDescriptor.java
public LocalDateStringJavaDescriptor() {
    super(LocalDate.class, ImmutableMutabilityPlan.INSTANCE);
}
 
 类所在包
 类方法
 同包方法