*/
public STRUCT toSDO(Geometry geom, int srid) throws SQLException {
if( geom == null) return asEmptyDataType();
int gtype = SDO.gType( geom );
NUMBER SDO_GTYPE = new NUMBER( gtype );
NUMBER SDO_SRID = (srid == SDO.SRID_NULL || srid == 0) ? null :
new NUMBER( srid );
double[] point = SDO.point( geom );
STRUCT SDO_POINT;
ARRAY SDO_ELEM_INFO;