-->
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: why hiber nate execute each query two times ?
PostPosted: Fri Feb 23, 2007 6:08 am 
Newbie

Joined: Thu Feb 22, 2007 12:21 pm
Posts: 3
In my eclipse console i found every hibernate program execute sql statement two times why it is like that????

I have two sql statements in hibernate program,all the query executes well
first time, when i tried to refresh i get the the first sql statement executes
well but the second query gives error

this is the error

java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

org.hibernate.exception.GenericJDBCException: could not execute query

Caused by: java.sql.SQLException: ORA-01001: cursore non valido

These are the errors iam getting.

Thanks


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.