org.hibernate.spatial.dialect.sqlserver.convertors
Class SqlServerGeometry
java.lang.Object
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 .
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SUPPORTED_VERSION
public static final byte SUPPORTED_VERSION
- See Also:
- Constant Field Values
serialize
public static byte[] serialize(SqlServerGeometry sqlServerGeom)
deserialize
public static SqlServerGeometry deserialize(byte[] bytes)