-->
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.  [ 3 posts ] 
Author Message
 Post subject: Using Oracle Object Types with Hibernate
PostPosted: Thu Feb 03, 2005 2:15 pm 
Newbie

Joined: Thu Feb 03, 2005 1:10 pm
Posts: 2
Hi everybody,
recently I've got a requirements to add to the tables in my project columns with values of Oracle object types. Hibernate does not support these types directly.
I found in this forum a few requests about the same topic and answers with general recommendations for implementation, but no concrete instructions, examples.
I was able to make it work and described approach I used in Hibernate Wiki at http://www.hibernate.org/261.html.

Please review the article and let me know if I missed anything.

I'm also posting this message for those searching the forum about the topic.

Thanks,
Andriy Palamarchuk


Top
 Profile  
 
 Post subject:
PostPosted: Thu Feb 03, 2005 7:01 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
from just reading it and assuming how object types work in oracle it looks like a real good description-solution - thank you.

regarding querying I assume you would need to use createSQLQuery() to perform the proper querying.

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Fri Feb 04, 2005 9:42 am 
Newbie

Joined: Thu Feb 03, 2005 1:10 pm
Posts: 2
Max,
thank you for quick response.
I'll definitely look into using createSQLQuery() a little bit later and update the document with my experience.

Andriy


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 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.