aspose file tools*
The moose likes Object Relational Mapping and the fly likes DATABASE ERROR: java.sql.SQLException: Invalid argument(s) in call Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "DATABASE ERROR: java.sql.SQLException: Invalid argument(s) in call" Watch "DATABASE ERROR: java.sql.SQLException: Invalid argument(s) in call" New topic
Author

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

Y Jadhav
Ranch Hand

Joined: Oct 02, 2008
Posts: 37
This error in stdout...when trying to connect to Database oracle 10g.

please help me sir???


Alaa Nassef
Ranch Hand

Joined: Jan 28, 2008
Posts: 467
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.


Visit my blog: http://jnassef.blogspot.com/
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17259
    
    6

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


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
Y Jadhav
Ranch Hand

Joined: Oct 02, 2008
Posts: 37
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

Joined: Oct 02, 2008
Posts: 37
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]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: DATABASE ERROR: java.sql.SQLException: Invalid argument(s) in call