aspose file tools
The moose likes JDBC and the fly likes JDBC connection in Oracle Application Server 10g Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Mongo DB Applied Patterns this week in the MongoDB forum
or a resume review from Five Year Itch in the Jobs Discussion forum!
JavaRanch » Java Forums » Databases » JDBC
Reply Bookmark "JDBC connection in Oracle Application Server 10g" Watch "JDBC connection in Oracle Application Server 10g" New topic
Author

JDBC connection in Oracle Application Server 10g

yan yan
Greenhorn

Joined: Aug 01, 2007
Posts: 16
Hi guys,

I have a war file with a simple JDBC connection. I didnt use DATA SOURCE coz im only using one table. I have my application developed using myeclipse and apache tomcat
which is perfectly connecting to Oracle 10g Database. But when i uploaded the war file in the application server and tried to run the web app, it seems
like its not selecting/updating/inserting into the table. I checked the logs but did not found any significant JDBC error. I used ojdbc14.jar in my
web app.


Please help.


thanks,
yan
yan yan
Greenhorn

Joined: Aug 01, 2007
Posts: 16
this is now ok.

MyEclipse tomcat is allowing the executeQuery on insert/update statements. But doesnt have any error raised on Oracle Application Server release 3.
I tried to deploy it on OC4J standalone and found the error "SQL string is not Query".

unfortunately,there was one statement in my code that uses ExecuteQuery on update statement.




Many thanks.



 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JDBC connection in Oracle Application Server 10g
 
Similar Threads
[OAS] Change jdbc driver
Web Application Class Loader and Weblogic
Oracle9iAS and Java IDE
Not able to connect to the database with my JDBC program
Unsupported major.minor version 49.0