org.hibernate.spatial.dialect.sqlserver
Class SqlServer2008GeometryTypeDescriptor

java.lang.Object
  extended by org.hibernate.spatial.dialect.sqlserver.SqlServer2008GeometryTypeDescriptor
All Implemented Interfaces:
java.io.Serializable, org.hibernate.type.descriptor.sql.SqlTypeDescriptor

public class SqlServer2008GeometryTypeDescriptor
extends java.lang.Object
implements org.hibernate.type.descriptor.sql.SqlTypeDescriptor

See Also:
Serialized Form

Field Summary
static org.hibernate.type.descriptor.sql.SqlTypeDescriptor INSTANCE
           
 
Constructor Summary
SqlServer2008GeometryTypeDescriptor()
           
 
Method Summary
 boolean canBeRemapped()
          Is this descriptor available for remapping?
<X> org.hibernate.type.descriptor.ValueBinder<X>
getBinder(org.hibernate.type.descriptor.java.JavaTypeDescriptor<X> javaTypeDescriptor)
           
<X> org.hibernate.type.descriptor.ValueExtractor<X>
getExtractor(org.hibernate.type.descriptor.java.JavaTypeDescriptor<X> javaTypeDescriptor)
           
 int getSqlType()
          Return the JDBC type-code for the column mapped by this type.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final org.hibernate.type.descriptor.sql.SqlTypeDescriptor INSTANCE
Constructor Detail

SqlServer2008GeometryTypeDescriptor

public SqlServer2008GeometryTypeDescriptor()
Method Detail

getSqlType

public int getSqlType()
Description copied from interface: org.hibernate.type.descriptor.sql.SqlTypeDescriptor
Return the JDBC type-code for the column mapped by this type.

Specified by:
getSqlType in interface org.hibernate.type.descriptor.sql.SqlTypeDescriptor
Returns:
typeCode The JDBC type-code

canBeRemapped

public boolean canBeRemapped()
Description copied from interface: org.hibernate.type.descriptor.sql.SqlTypeDescriptor
Is this descriptor available for remapping?

Specified by:
canBeRemapped in interface org.hibernate.type.descriptor.sql.SqlTypeDescriptor
Returns:
true indicates this descriptor can be remapped; otherwise, false
See Also:
WrapperOptions.remapSqlTypeDescriptor(org.hibernate.type.descriptor.sql.SqlTypeDescriptor), Dialect.remapSqlTypeDescriptor(org.hibernate.type.descriptor.sql.SqlTypeDescriptor)

getBinder

public <X> org.hibernate.type.descriptor.ValueBinder<X> getBinder(org.hibernate.type.descriptor.java.JavaTypeDescriptor<X> javaTypeDescriptor)
Specified by:
getBinder in interface org.hibernate.type.descriptor.sql.SqlTypeDescriptor

getExtractor

public <X> org.hibernate.type.descriptor.ValueExtractor<X> getExtractor(org.hibernate.type.descriptor.java.JavaTypeDescriptor<X> javaTypeDescriptor)
Specified by:
getExtractor in interface org.hibernate.type.descriptor.sql.SqlTypeDescriptor