DATABASE ERROR: java.sql.SQLException: Invalid argument(s) in call
Y Jadhav
Ranch Hand
Joined: Oct 02, 2008
Posts: 37
posted
0
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: 460
posted
0
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.
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.
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
posted
0
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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.
subject: DATABASE ERROR: java.sql.SQLException: Invalid argument(s) in call