Java in Oracle 9.2.0.6.0
Hi all
I would like to know which version of Java and JDBC is supported in Oracle 9.2.0.6.0. I would also like to know if it is possible to upgrade the version of Java in the Oracle database to a later version.
Any help would be appreciated
Regards
Herman
Hi all
I would like to know which version of Java and JDBC is supported in Oracle 9.2.0.6.0. I would also like to know if it is possible to upgrade the version of Java in the Oracle database to a later version.
Any help would be appreciated
Regards
Herman
Similar Messages
-
Cannot locate Java class oracle.tip.adapter.db.DBWriteInteractionSpec
I have created a BPEL process in which i have used DB Adapter when i try to deploy the soa suite coposite i am getting the following error.
[09:36:10 PM] Error deploying archive sca_TicketBooking_rev1.0.jar to partition "default" on server soa_server1 [http://utl-7c8735e613f:8001]
[09:36:10 PM] HTTP error code returned [500]
[09:36:10 PM] Error message from server:
There was an error deploying the composite on soa_server1: [JCABinding] [TicketBooking.TicketBooking/1.0]Unable to complete unload due to: Cannot locate Java class oracle.tip.adapter.db.DBWriteInteractionSpec: Cannot locate Java class oracle.tip.adapter.db.DBWriteInteractionSpec.
[09:36:10 PM] Check server log for more details.
[09:36:10 PM] Error deploying archive sca_TicketBooking_rev1.0.jar to partition "default" on server soa_server1 [http://utl-7c8735e613f:8001]
[09:36:10 PM] #### Deployment incomplete. ####
[09:36:10 PM] Error deploying archive file:/D:/Personal/OracleWork/RnDProjects/TicketBooking/TicketBooking/deploy/sca_TicketBooking_rev1.0.jar
(oracle.tip.tools.ide.fabric.deploy.common.SOARemoteDeployer)
I already created the data source and JNDI Name in the DBAdapter but still getting the error while deploying the application.
One mistake that i think i have made after creating the data source now the DBAdapter.rar file taking the path as follows.
Source Path: C:\ Oracle\ Middleware\ Oracle_SOA1\ soa\ connectors\ was\ DbAdapter. rar
Deployment Plan: C:\ Oracle\ Middleware\ Oracle_SOA1\ soa\ connectors\ was\ Plan. xml
initially the path was as follows:
Source Path: C:\ Oracle\ Middleware\ Oracle_SOA1\ soa\ connectors\ DbAdapter. rar
Deployment Plan: C:\ Oracle\ Middleware\ Oracle_SOA1\ soa\ connectors\ Plan. xml
Please help me i have googled a lot but can't find the answer anywhere.
Thanks in advanceMate ,
Just check the health status and state of DB Adapter in the deployments of WLAdminConsole.
If its inactive , redeploy and update it ,also make sure its targeted to the right server. -
How can I find out the java version Oracle has ?
How can I find out the java version Oracle has built in?
I've tried with ..
SELECT comp_id, comp_name, version
FROM dba_registry ;
But I get.."table doesn't not exist".
Thenks in advance!Pl post details of OS and database versions. Pl see this MOS Doc
What Version of Java is Compatible With The Database JVM? [ID 438294.1]
and these Oracle docs
11gR2 - http://docs.oracle.com/cd/E11882_01/appdev.112/e25518/adfns_environments.htm#ADFNS654
11gR1 - http://docs.oracle.com/cd/B28359_01/java.111/b31225/whatsnew.htm
HTH
Srini -
i have to tried to make programs using java and oracle. if i give the values in the 'insert' statement it is getting updated in the original table in oracle but how to take the values from the text fields of java and insert into the tables in oracle. do we have any methods to convert the values into sql type. pl reply.
Here is a sample of a Java program that uses JDBC and a PreparedStatement. This particular program does a select, but you can also use this for inserts. I'm not 100% this is what you are looking for, but if it isn't just let me know. I'll help if I can.
Joel
For inserts, just replace this code:
ResultSet rs = ps.executeQuery();
while (rs.next()) {
System.out.println(rs.getInt(rs.findColumn("CNT")));
}with this code (and obviously change the Select string to an Insert String):
int rowcnt = ps.executeUpdate();Here is the whole program:
import java.sql.*;
import java.util.*;
import java.text.*;
class dbtest {
public static void main(String args[]) throws SQLException {
try {
String timeString = new String("2000-11-01 23:59:59");
SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd H:m:s");
java.util.Date date = format.parse(timeString);
Timestamp timestamp = new Timestamp(date.getTime());
DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
Connection conn =
DriverManager.getConnection(
"jdbc:oracle:thin:@riker:1521:mydb",
"myusername",
"mypassword");
String sql =
"SELECT COUNT(*) CNT FROM SERVICE_ALARM "
+ "WHERE TRANS_STREAM_NODE_ID = ? "
+ "AND SERVICE_ID = ? "
+ "AND ALARM_ID = ? "
+ "AND RAISED > TO_DATE(?,'YYYY-MM-DD HH24:MI:SS')";
PreparedStatement ps = conn.prepareStatement(sql);
ps.setString(1, "ROW1");
ps.setInt(2, 1);
ps.setString(3, "ROW1");
String myDate =
timestamp.toString().substring(0, timestamp.toString().length() - 2);
System.out.println("myDate=(" + myDate + ")");
ps.setString(4, myDate);
ResultSet rs = ps.executeQuery();
while (rs.next()) {
System.out.println(rs.getInt(rs.findColumn("CNT")));
rs.close();
ps.close();
} catch (Exception e) {
System.out.println("Java Exception caught, error message=" + e.getMessage());
} -
hello frnds...i have installed oracle 10g in ubuntu 11.04....now i want to make database connection between java and oracle...so how can i do it??i know the java code..but the main problem is database driver..how can i give the classpath for specific jdbc dirver...pls tell me the steps to set classpath for jdbc driver...
thnx in advance..884540 wrote:
hello frnds...i have installed oracle 10g in ubuntu 11.04....now i want to make database connection between java and oracle...so how can i do it??i know the java code..but the main problem is database driver..how can i give the classpath for specific jdbc dirver...pls tell me the steps to set classpath for jdbc driver...
thnx in advance..You can mention the classpath using the javac and java options:
javac -cp .;<path> <ClassName>.java
and
java -cp .;<path> <ClassName>
Or refer the below link to avoid mentioning classpath everytime you run/ compile the program
http://www.linuxquestions.org/questions/linux-software-2/j2sdk-install-174483/#post898715 -
Java in oracle 8.1.7
Hello,
How can I check if java is installed (available) on database?
I have 2 oracle 817 and in dba studio in one is "JServer" in second not -
this means on first I have installed java on second not ?
and how to install java on oracle ? I have jre 1.1.8 on operating system...
do I have to run oracle installer from cd and add "some java component" ?
regards
LukaszHi Mayu,
Short answer (according to my experience) is "no"! But there is
something that I have been meaning to try and haven't gotten
around to yet, so you may want to try it (if you like).
Try loading the OC4J JAR files -- "orion.jar","ejb.jar",
"jndi.jar" and the JAR file containing you EJBs -- into the
Oracle 8.1.7 database (using the "loadjava" tool). Then you can
try calling your EJB (deployed in OC4J) from your java stored
procedure. Note that your java stored procedure needs to work
with the EJB in exactly the same way as a normal stand-alone
java application client does. I know I have explained in detail
how a normal stand-alone java application client works with an
EJB deployed to OC4J in a previous post. I just don't remember
what forum I posted it to. It may have been this forum or it may
have been the forum at the ElephantWalker site:
http://www.elephantwalker.com
And since I'm feeling a bit lazy, perhaps you could search for
it. Anyway, briefly what you need do in your java client is:
1. Use the RMIInitialContextFactory class
2. Use the actual JNDI lookup name (the way it appears in your
"ejb-jar.xml" file) when looking up your EJB.
Good luck! And please let us know how you get on!
Hope this has helped you,
Avi. -
How to connect Java to oracle Database Express Edition?
Anyone can help me?
How to connect JAVA TO ORACLE DATABASE EXPRESS EDITION?I suggest you to read this article:
http://wiki.oracle.com/page/JDBC
Regards,
Ricky -
How to connect java with oracle
can any body show me the code of how to connect java with oracle database.
thank youTo configure Oracle JDBC:
1. Add Oracle JDBC JAR file classes12.zip or ojdbc14.zip to classpath.
2. Load and register the JDBC driver.
Class.forName("oracle.jdbc.driver.OracleDriver");
3. Obtain a connection:
String url="jdbc:oracle:thin:@<host>:1521:<database>
Connection con = DriverManager.getConnection(url,
"myLogin", "myPassword");
4. Create a SQL statement.
Statement stmt = con.createStatement();
5. Obtain a result set.
ResultSet rs = stmt.executeQuery(
"SELECT ..."); -
Off topic :Newcomer in Java with Oracle
Hi
Please What books/Forums about Java with Oracle
Thank you in advancehttp://download-east.oracle.com/docs/cd/B10501_01/java.920/a96656/toc.htm
http://download-east.oracle.com/docs/cd/B10501_01/java.920/a96659/toc.htm
http://download-east.oracle.com/docs/cd/B10501_01/java.920/a96657/toc.htm -
Ok , I manage to make the connection to my DB using the help of netbeans ,but i'm only able to run sql statement using the sql editor ,but when it comes to creating a class that does the connection and execute sql statement ,the IDE tell me that there is no driver ,but in reality i'm connected to the database,here's the code i've written to access the db:
import java.sql.*;
* @author XPPRESP3
public class Main {
public static void main(String[] args) {
Connection connection = null;
try {
// Load the JDBC driver
String driverName = "oracle.jdbc.driver.OracleDriver";
Class.forName(driverName);
String url=" jdbc:oracle:oci8:@db1";
connection = DriverManager.getConnection(url,"Scott","tiger");
} catch (ClassNotFoundException e) {
System.out.print("no DRIVER ");
} catch (SQLException e) {
System.out.print("no db ");
}Duplicate post:
how to connect java to oracle 9i
(By the way, such a procedure does not accelerate solution of your problem).
Werner -
Webdynpro java and oracle DB connection..
Hi,
I have a good knowledge of WD (web dynpro java) projects having ECC as backend as i have done lot of projects where ECC is backend and WD JAVA is front end.
but in my new project i have wd java as front end but my backend is oracle DB. I want to know how to create/setup connection betwen webdynpro java and oracle DB, how to proceed on this ? wat all settings I have to do in VA (visual admin) and all.
please let me know how to proceed on this. Any document/tutorial on this will be very helpful..Hi Rahul,
Create a DataSource to the oracle db in Visual Admin, give the datasource an alias name and connect to the db from WebDynpro by calling the alias name.
These document might be useful:
[http://help.sap.com/saphelp_nw70/helpdata/en/c0/3ad4d5cdc66447a188b582aad537d3/frameset.htm]
[SAP Note 867176|https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=867176]
[SAP Note 941594|https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=0000941594&nlang=E]
Good luck!
Regards,
Aditya -
How to connect java with oracle report server... i m using a swing application.... I have seen api documentation but didnt get things. please help...
user13323568 wrote:
How to connect java with oracle report server... i m using a swing application.... I have seen api documentation but didnt get things. please help...How can anyone help you?
You "don't get things", that is a problem you have to solve before you can be helped. Maybe you just need to spend more time on it or find better documentation; API documentation is only a reference, not a manual. -
Relation between java and oracle
Hi,
This is general information about java and oracle.
I had worked in java last one year, but now switch to oracle i heared that nearly combination of each are implemented oops concept. But i know where it used in java, not in oracle.
In oracle, where we are implemented inheritance, polymorhism and encapsulation.
plz give some tips
Regards venkidoes this mean you used to develop your applications on java and manuplate your data in Oracle over JDBC or Hibernate but then you started to develop PL/SQL applications for this need and use PL/SQL's OO features?
With my experiences I may say if you are working on data intensive database applications learning how to use effectively SQL and PL/SQL is critical, this is Oracle's native language not something written to work for any database vendor. http://www.oracle.com/pls/db102/portal.portal_db?selected=5 -
How to install NW2004s abap and/or java on Oracle 10g on SLES 10 32 bit?
Does anyone know - How to install NW2004s abap and/or java on Oracle 10g on SLES 10 32 bit?
Does SAP offer the software for trial for this?
JayHi Check the link page you shall get the PDF and then goto Page 50 .you shall find the details.
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/3096e412-7308-2b10-4999-e16c64ce5eeb
Thanks
Rishi Abrol -
XML Developer's Kit for Java for Oracle 8i
Hello,
I want to download XML Developer's Kit for Java for Oracle 8i but I find only for Oracle 9i in the download site. I previously had download this for Oracle 8i. So I guess it should have moved to some other place and I am just not able to find it.
Can anyone let me know where I can download the XDK kit for Java for Oracle 8i?
Thanks.
Rama.According to the license:
"We grant you a nonexclusive, nontransferable limited license to use the programs for purposes of developing your applications. You may also distribute the programs with your applications to your customers...."
But you may not:
"distribute the programs unless accompanied with your applications;
For more information, please refer to the following page:
http://otn.oracle.com/tech/xml/xdk/doc/production10g/license.html -
I am new to this MacBook Pro laptop. I seems to have problems figuring things out....like Mail...where to put files like in Windows (or in AOL -was on there for a long time and now use .me).
I also wonder about the updates...the school I am looking at mentioned downloading Java 6 Oracle...how do I find out if I already have it? I tried to download it, and I got a little box that just highlighted 'software updates' from Finder...? and I am in general pretty clueless as to what all this machine does.
Help!!!
Thanks....MonaFrom your "Go" menu choose "Go to folder" copy & paste this...
/Applications/Utilities
Press return
In that folder find the Java Preferences.app and launch it. You should be prompted to install Java 6.
Maybe you are looking for
-
Error in Release of Network data via BAPI_BUS2002_SET_STATUS
Hi Experts, I have to release network data via a Custom Report Program, so I am using the STD BAPI , BAPI_BUS2002_SET_STATUS. The functionality must be similar to the release of Network as in case of transaction CN22 or can also be done via Project B
-
I got fatal error while updating to 2.2.1
Can't even restore back to the original backup system ? it is looping
-
hi SDNers, i have created an application using interactive form[PDF] in web dynpro for ABAP. when i am testing it, no values are shown but only the empty fields appear. i have written coding in methods WDDOINIT. when i debug, it shows the values in t
-
I am using 2 email accounts as per following: Account 'A' : For sending / receiving Company Email hosted on Gmail for Business (Free edition). Account 'B' : For Syncing my Microsoft Outlook Data to Cloud, Laptop & Mobile Phones. When I receive email
-
The white type on the yellow tab is not very readable: http://www.musol.org.bo/becarios.html Any ideas on how to solve this problem? Change the font color or the tab color? Or both? Many thanks, Bernhard