HHH-5138 - Redesign types + introduce TypeRegistry & TypeResolver
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19389 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
parent
b023244c12
commit
c8a5adf327
|
@ -25,7 +25,7 @@ package org.hibernate.type;
|
||||||
|
|
||||||
import java.util.Calendar;
|
import java.util.Calendar;
|
||||||
|
|
||||||
import org.hibernate.type.descriptor.java.CalendarTypeDescriptor;
|
import org.hibernate.type.descriptor.java.CalendarDateTypeDescriptor;
|
||||||
import org.hibernate.type.descriptor.sql.DateTypeDescriptor;
|
import org.hibernate.type.descriptor.sql.DateTypeDescriptor;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -38,7 +38,7 @@ public class CalendarDateType extends AbstractSingleColumnStandardBasicType<Cale
|
||||||
public static final CalendarDateType INSTANCE = new CalendarDateType();
|
public static final CalendarDateType INSTANCE = new CalendarDateType();
|
||||||
|
|
||||||
public CalendarDateType() {
|
public CalendarDateType() {
|
||||||
super( DateTypeDescriptor.INSTANCE, CalendarTypeDescriptor.INSTANCE );
|
super( DateTypeDescriptor.INSTANCE, CalendarDateTypeDescriptor.INSTANCE );
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getName() {
|
public String getName() {
|
||||||
|
|
Loading…
Reference in New Issue