org.hibernate.spatial.dialect.sqlserver.convertors
Class SqlServerGeometry

java.lang.Object
  extended by org.hibernate.spatial.dialect.sqlserver.convertors.SqlServerGeometry

public class SqlServerGeometry
extends java.lang.Object

A SqlServerGeometry represents the native SQL Server database object.

Instances are created by deserializing the byte array returned in the JDBC result set. They present the structure of the SQL Server Geometry object as specified in Microsoft SQL Server CLR Types Serialization Formats .


Field Summary
static byte SUPPORTED_VERSION
           
 
Method Summary
static SqlServerGeometry deserialize(byte[] bytes)
           
static byte[] serialize(SqlServerGeometry sqlServerGeom)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SUPPORTED_VERSION

public static final byte SUPPORTED_VERSION
See Also:
Constant Field Values
Method Detail

serialize

public static byte[] serialize(SqlServerGeometry sqlServerGeom)

deserialize

public static SqlServerGeometry deserialize(byte[] bytes)