-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: create spatial index
PostPosted: Tue Mar 27, 2007 8:18 am 
Newbie

Joined: Thu Oct 27, 2005 4:07 am
Posts: 11
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


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.