Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

DATABASE ERROR: java.sql.SQLException: Invalid argument(s) in call

 
Y Jadhav
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This error in stdout...when trying to connect to Database oracle 10g.

please help me sir???


 
Alaa Nassef
Ranch Hand
Posts: 471
Hibernate Mac OS X Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Since it's a hibernate exception, I believe that this should belong to the ORM forum. Another thing, please provide us with the code that caused the error, and the full stack trace.
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving this to the ORM forum.

When this is moved, can you post your mappings, it seems to connect to Oracle. It looks like it is trying to update a tutorials table, but that table doesn't exist in your database.

Mark
 
Y Jadhav
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks sir ,
Sorry I have been on holidays...thats why couldnt send reply..

these are mapping file for DB.


struts-config.xml



hibernate.hbm.xml


tutorials.hbm.xml



These three are mapping files , if you need any other details please tell me,

Thank you SIR.
 
Y Jadhav
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Also this what error is there in my catalina.log file...


Oct 15, 2008 12:08:13 PM org.apache.catalina.core.NamingContextListener addResource
WARNING: Failed to register in JMX: javax.naming.NamingException: Could not load resource factory class [Root exception is java.lang.ClassNotFoundException: org.apache.commons.dbcp.BasicDataSourceFactory]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic