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: use projection to write data to database
PostPosted: Wed Feb 08, 2006 6:14 pm 
Newbie

Joined: Wed Dec 07, 2005 9:03 am
Posts: 2
Hibernate version: 3

Name and version of the database you are using:Oracle Spatial 9.2

Hi,

I have a problem with using the Oracle Spatial function
Code:
sdo_cs.transform
to transform a special column of a table to another SpatialReferenceSystem.

To get data in a special SpatialReferenceSystem I use this:
Code:
List results = session.createCriteria(SpatialObject.class)
    .setProjection( new CSTransformProjection("column", targetCS) )
    .list();


But it also has to be possible to write data in a different SpatialReferenceSystem than the default SpatialReferenceSystem of the database. So I want to use the
Code:
sdo_cs.transform
function to transform data which will be written on the database.

Any solutions?

Thanks,

Raffa


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.