-->
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: Inserting data in Oracle 10g
PostPosted: Mon May 08, 2006 3:47 am 
Newbie

Joined: Fri Apr 07, 2006 3:51 am
Posts: 1
Location: India
Hi
I am trying to connect Hibernate 3.0 to Oracle 10g in JDBC Transaction mode but getting the sql exception.
It is showing the sql query in the log file:
Hibernate: insert into EVENTS (EVENTTITLE, USERID) values (?, ?);

but no data is getting inserted.
I am using Java 5.0 and Tomcat 5.0-

On stopping the application I am getting the following Exception:--

Encountered exception java.lang.RuntimeException: java.sql.SQLException: ORA-00900: invalid SQL statement

On Undeploying I am getting the following Exception:--

FAIL - Encountered exception java.io.IOException: java.lang.RuntimeException: java.sql.SQLException: ORA-00900: invalid SQL statement

I am not getting where the problem is It's running well but I m getting the run time exception. Any idea ???

Thanks in advance......
Please do hurry if u can..


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.