-->
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: Parameter index out of range (1 > number of parameters
PostPosted: Wed Nov 11, 2009 12:20 pm 
Newbie

Joined: Wed Nov 11, 2009 6:41 am
Posts: 7
HI
while inserting a record into data base i am getting this error

Parameter index out of range (1 > number of parameters, which is 0).

my table is Sample(sid, sname, sadd)

my pojo class is Sample
while i am performing session.save(sample);

i am gettign this error.
pls suggest me .
thanks in advance


Top
 Profile  
 
 Post subject: Re: Parameter index out of range (1 > number of parameters
PostPosted: Mon Nov 16, 2009 5:15 am 
Newbie

Joined: Wed Nov 11, 2009 6:41 am
Posts: 7
HI i solved my problem
I created my schema as example's_schema.
due to this wrong namking convention i got this error.

So, i rename my schema as example_schema, then my problem is solve.


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.