-->
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.  [ 2 posts ] 
Author Message
 Post subject: How Can I pass the values for <sql-insert>,<sql-upd
PostPosted: Tue Mar 13, 2007 1:42 am 
Beginner
Beginner

Joined: Tue Dec 12, 2006 7:52 am
Posts: 20
i am using Native SQLs in Hibernate .and i configure <sql-insert> , <sql-update> and <sql-delete> i dont no how to pass the values for that Native SQL Please any one can Help me please send sample example code


Top
 Profile  
 
 Post subject: Re: How Can I pass the values for <sql-insert>,<sql
PostPosted: Tue Mar 13, 2007 4:45 am 
Newbie

Joined: Tue Mar 13, 2007 4:15 am
Posts: 12
Location: Trivandrum
narenderreddy wrote:
i am using Native SQLs in Hibernate .and i configure <sql-insert> , <sql-update> and <sql-delete> i dont no how to pass the values for that Native SQL Please any one can Help me please send sample example code


If u r using <sql-insert> u have to persist the object using session.save(obj)

it will directly execute the sql statement insted of using SQL dialect

_________________
Regards
Belto


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