-->
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.  [ 4 posts ] 
Author Message
 Post subject: Does Hibernate support PL/SQL?
PostPosted: Wed Mar 01, 2006 11:58 am 
Newbie

Joined: Wed Mar 01, 2006 11:30 am
Posts: 2
Is PL/SQL code supported in Hibernet. If it is supported how manage and how uses Hibernate de PL/SQL code?

Thanks


Top
 Profile  
 
 Post subject: sql
PostPosted: Wed Mar 01, 2006 12:46 pm 
Expert
Expert

Joined: Fri Jul 22, 2005 2:42 pm
Posts: 670
Location: Seattle, WA
As native SQL
http://www.hibernate.org/hib_docs/v3/re ... rysql.html

_________________
--------------
Konstantin

SourceLabs - dependable OpenSource systems


Top
 Profile  
 
 Post subject:
PostPosted: Wed Mar 01, 2006 1:24 pm 
Expert
Expert

Joined: Mon Jan 09, 2006 5:01 pm
Posts: 311
Location: Sacramento, CA
Also, in your class mapping you can add
items like
<sql-query...>
<sql-insert...>
<sql-update...>
<sql-delete...>

that would specify the stored procedure and/or function that you're calling for those operations.
Check out v3 reference.pdf pg 166 for more info.
http://www.hibernate.org/hib_docs/v3/reference/en/pdf/hibernate_reference.pdf


Just EDITED with:

sorry - the query section that kgignatyev referenced also covers this (it is more than just querying.. but also includes DML).

_________________
-JT

If you find my replies helpful, please rate by clicking 'Y' on them. I appreciate it.


Top
 Profile  
 
 Post subject: Thanks ;)
PostPosted: Thu Mar 02, 2006 4:19 am 
Newbie

Joined: Wed Mar 01, 2006 11:30 am
Posts: 2
Im very thank you about two replys :)

They are good, it was just i needed.


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