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
|