org.hibernate.type.descriptor.java.ImmutableMutabilityPlan Java Examples
The following examples show how to use
org.hibernate.type.descriptor.java.ImmutableMutabilityPlan.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: AttributeConverterTypeAdapter.java From lams with GNU General Public License v2.0 | 6 votes |
@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 ); }
Example #2
Source File: AdaptedImmutableType.java From lams with GNU General Public License v2.0 | 4 votes |
@Override @SuppressWarnings({ "unchecked" }) protected MutabilityPlan<T> getMutabilityPlan() { return ImmutableMutabilityPlan.INSTANCE; }
Example #3
Source File: InstantTypeDescriptor.java From sakai with Educational Community License v2.0 | 4 votes |
public InstantTypeDescriptor() { super(Instant.class, ImmutableMutabilityPlan.INSTANCE); }
Example #4
Source File: InstantTypeDescriptor.java From sakai with Educational Community License v2.0 | 4 votes |
public InstantTypeDescriptor() { super(Instant.class, ImmutableMutabilityPlan.INSTANCE); }
Example #5
Source File: LocalDateStringJavaDescriptor.java From tutorials with MIT License | 4 votes |
public LocalDateStringJavaDescriptor() { super(LocalDate.class, ImmutableMutabilityPlan.INSTANCE); }
Example #6
Source File: LocalDateStringJavaDescriptor.java From tutorials with MIT License | 4 votes |
public LocalDateStringJavaDescriptor() { super(LocalDate.class, ImmutableMutabilityPlan.INSTANCE); }