-->
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: Stored Procedure and Annotations
PostPosted: Tue Feb 24, 2009 12:32 am 
Newbie

Joined: Mon Feb 23, 2009 9:08 am
Posts: 9
Hi there,

Could anyone be so kind to post an example on how to execute stored procs with and/or without parameters using Hibernate annotations.

Thank-you

Justin.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 24, 2009 5:23 am 
Expert
Expert

Joined: Fri Jan 30, 2009 1:47 am
Posts: 292
Location: Bangalore, India
You can use @org.hibernate.annotations.NamedNativeQueries for calling strored procedures. If u refer hibernate_annotations.pdf you ll get examples.

_________________
Regards,
Litty Preeth


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 24, 2009 7:11 am 
Expert
Expert

Joined: Thu Jan 08, 2009 6:16 am
Posts: 661
Location: Germany
Here it is.

_________________
-----------------
Need advanced help? http://www.viada.eu


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.