-->
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.  [ 1 post ] 
Author Message
 Post subject: usage of add_days SQL function in parameterized query
PostPosted: Thu Jan 21, 2010 7:50 am 
Newbie

Joined: Thu Jan 21, 2010 7:37 am
Posts: 1
Hi,
I'm firing the below parameterized hibernate query in db2.
update com.manh.doms.selling.common.pricing.ItemPrice set effectiveEndDTTM = add_days(effectiveEndDTTM , ?)
upon which, i'm getting and with SQLState 42610 corresponding to 'A parameter marker is not allowed'
and 56098 corresponding to 'An error occurred during implicit rebind or prepare'.

Please let me know the right way of doing it.


Regards
Archana


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

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.