Hi,
is it possible to tell hibernate to create a spatial index;
@org.hibernate.annotations.Index(
name="spatindex_node",
columnNames={"shape"} )
cause for Oracle
create index spatindex_edge on edge (shape)
instead I would like to change to
CREATE INDEX "TESTS"."SPATIDX_EDGE"
ON "TESTS"."EDGE" ("SHAPE")
INDEXTYPE IS MDSYS.SPATIAL_INDEX
PARAMETERS (' LAYER_GTYPE=COLLECTION SDO_RTR_PCTFREE=10 INITIAL=64K ')
;
for tables there seems to be AuxiliaryDatabaseObject
or is it somehow possible to use it for indeces?
thanks
Peter
|