-->
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.  [ 5 posts ] 
Author Message
 Post subject: Integration of Oracle Spatial into Hibernate
PostPosted: Fri Apr 02, 2004 9:59 am 
Newbie

Joined: Fri Apr 02, 2004 9:18 am
Posts: 5
Location: Cologne, Germany
Hi,
has anyone experience in extending hibernate 2.1 to use geometry types and access spatial data stored with Oracle Spatial Cartridge (aka SDO) 8.1.6 or higher?
And what is the recommended way to extend hibernate to support types such as 2-D point, line string, polygon?
Regards
Torsten


Top
 Profile  
 
 Post subject:
PostPosted: Fri Apr 02, 2004 12:59 pm 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
Implement a UserType or CompositeUserType I guess

_________________
Emmanuel


Top
 Profile  
 
 Post subject: Data types and queries
PostPosted: Tue Apr 06, 2004 6:37 am 
Newbie

Joined: Fri Apr 02, 2004 9:18 am
Posts: 5
Location: Cologne, Germany
Thanks. Understanding that implementing these interfaces only cover the data types, where can I add new operations? Do I have to extend the HQL or can I use SQL function names in my queries?
Regards
Torsten


Top
 Profile  
 
 Post subject:
PostPosted: Tue Apr 06, 2004 7:36 am 
Hibernate Team
Hibernate Team

Joined: Mon Aug 25, 2003 9:11 pm
Posts: 4592
Location: Switzerland
You can use arbitrary SQL functions in the WHERE clause in HQL, they will be passed to the underlying database via SQL.

_________________
JAVA PERSISTENCE WITH HIBERNATE
http://jpwh.org
Get the book, training, and consulting for your Hibernate team.


Top
 Profile  
 
 Post subject: Nhibernate + sdo class
PostPosted: Mon Oct 10, 2005 2:09 pm 
Newbie

Joined: Mon Oct 10, 2005 1:55 pm
Posts: 12
Dear All
i will really appreciate any help!!!
Im using Nhibernate (you can answer also valid answer for hibernate) In order to map my classes for my application in Dot Net Using C#. My problem is that i use Oracle DB with SDO Class Library which enables me to do some geographical queries.
how can i map SDO geometry column / clacss member in to the database in order to make queries???
I will relly appreciate your help / code sample
Thnks alort


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

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.