Need info about drivers
Hi,
Please help me.
I'm a student and I'm a kid in DB knowledge. I'm trying to connect my java application with oracle DB using JDBC API.
In order to load the driver, I don't know what's the class name I have to use in my java application. Moreover I also like to know whether the class name is common for all the versions of oracle.
I have oracle9i installed in my system.
I also like to know the class name I have to use, for connecting my application with ODBC. And how can I set the default driver in ODBC.
I also need the url I have to make use, in order to connect my driver with database, both for oracle and through ODBC.
thanks,
sen
Here is simple code to get started with JDBC.
you should replace the database host, port number and sid to that of your database.
Yes the oracle driver class remains the same with all version released till date.
Also what is the driver you are using for connecting via ODBC (using java).
import java.sql.*;
import oracle.jdbc.*;
import java.util.*;
public class SimpleStatement
Connection connection=null;
public SimpleStatement()
try{
// Load the Oracle JDBC Driver and register it.
DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
Properties prop = new Properties();
// Set the user name and password property
prop.put("user", "scott");
prop.put("password", "tiger");
// get a connection
connection = DriverManager.getConnection(
"jdbc:oracle:thin:@insn104a.idc.oracle.com:1522:ora9idb",prop);
// create statement object from connection
Statement stmt = connection.createStatement();
// execute query and get a resultset
ResultSet rs = stmt.executeQuery("Select empno,ename from emp");
while(rs.next){
System.out.println("Salary of "+ rs.getString(2) +" is :" + rs.getString(1));
if (rs!=null)
rs.close();
if(stmt !=null)
stmt.close();
if(connection !=null)
connection.close();
} catch(SQLException ex){ //Trap SQL exceptions
System.out.println(ex);
catch(Exception ex){ //Trap other exceptions
System.out.println( ex.toString());
public static void main(String[] args)
new SimpleStatement();
You can find more samples here
http://otn.oracle.com/sample_code/tech/java/sqlj_jdbc/content.html
Chandar
Similar Messages
-
Need Info about BW CRM Analytics
Hi all,
Guys,
Please help me out...
I need Info about BW with CRM Analytics
What are the core areas where data's are extracted for CRM to BW
What will be the Interview question related to BW CRM Analytics
If possible if u have any docs kindly email me at [email protected]
Thanks in Advance.
Jaffer Ali.SDear Jaffer Ali S.,
The following types of analyses can be carried out:
<b>CRM Lead Analysis</b>
Use the InfoCube CRM Lead Management (Technical Name: 0MKTG_C01) for reporting.
The Lead Management InfoCube contains all the characteristics and data used for the administration of leads. This InfoCube enables you to execute the following standard queries available in SAP BW:
Channel Analysis
Efficiency Reporting
Historical Evaluation
Lost Leads
Channel Management: Top-n Lost Leads (Current Year)
<b>CRM Activities Analysis</b>
Use the InfoCube CRM Activities (Technical Name 0CSAL_C01) for reporting.
The InfoCube for activities in CRM provides the data basis for evaluating business activities undertaken by your employees. It provides you with information about how much time is being spent on contacting the customer, whether customers actively seek out contact with your company and how intensively your employees look after your customers. It delivers data for queries such as:
Intensity of customer care
Activity History
Success/failure analysis
<b>Customer Interaction Center (CIC)</b>
Activate the InfoCube Interactive Scripting Evaluation (IC WinClient) 0CRM_CIC1.
Interactive Scripting Evaluation (IC WinClient)
This InfoCube provides the data base for the interactive scripting evaluation. It supplies the data to the Interaction Center (IC): Interactive Scripting Evaluation query.
<b>Opportunities Analysis</b>
Activate InfoCube 0CRM_C04 - Opportunities.
The CRM Opportunities InfoCube contains all the characteristics and data used for the opportunities analyses.
<b>Sales Order Complaints Analysis</b>
Activate InfoCube Complaints (Technical name: 0CSAL_C09).
You can carry out the complaint analysis on a daily, monthly, weekly or a quarterly basis. The analysis can be done in relation to CRM Service Organization, CRM Sales Organization, CRM Product, and Sold-To Party.
<b>Service Qualtiy Analysis</b>
Activate the MultiProvider 0CSRVMC04 - CRM Service - Orders and Confirmations with Complaints.
The MultiProvider 0CSRVMC04 - CRM Service - Orders and Confirmations with Complaints gets the data from the following ODS objects for analyses in various queries:
0CRM_PROI - Orders: Item Data
0CRM_COI - Controlling (Item Data)
0CRM_CNFI - Confirmations (Item Data)
0CRM_COMP - CRM Complaints (Items)
Let me know if you need further help.
Reward points if it helps.
Regards,
Naveen. -
I need info about CL_XML_DOCUMENT
Hi to all,
I need info about the class CL_XML_DOCUMENT and his methods.
I only have seen information of a few methods.
Where can I find more information and examples of use about this class?Hi,
This question is already answered before in this forum, check out the below link -
Information about CL_XML_DOCUMENT
Hope this helps. -
Need info about RH Server 6 and reports
I'm interisted in RH Server 6 but I'm unable to locate much
practical info about it on the Web site, and a call to sales didn't
help. I need to know what I'm getting us into before I contribute
our $2,000. Can anyone provide this information or point me to its
location on the site:
--I have system requirements from the Adobe site, but what is
the "server" and what does installation and setup entail? About how
how long does it take, or how difficult, to achieve operability?
--According to a piece by John Daigle, the server component
should be installed on a Windows server running IIS 5+. Is IIS a
separate software or standart part of Windows server? If separate,
what preparation should that server have before the installation in
addition to installation of IIS?
--I know nothing about security/firewall protocols. We will
have our own and our customer firewalls to navigate. Are the server
setup instructions adequate for setting all that up? Or are
purchasers expected to have sys admins knowledgeable to set that
up? Is that applied to the RH server or the Windows server? if RH
server, how can I get a copy of instructions for my system people
to review?
--Have users found the RH server/RoboEngine reliable, once
it's operable?
--Is it true that the usage reports aren't customizable? Can
additional usage data be specified in the RH server?
--These report summaries are vague--Areas Requiing Help,
Frequently Viewed Content--stating only that repoorts show the
suchandsuch done "most frequently" or "most often." Does that mean
the top 3, 5, 10 or what? Is there a way to track all of that
activity from most to least?
--The summaries of the reports Unanswered Questions and
Frequently Asked Questions say that terms entered in the Search
field are identified. Questions and terms aren't the same in my
book--am I right that it captures anything entered? Can it do the
same for the Index field?
--I saw no RH server under downloads, or maybe missed it.
Correct in guessing that a demo version is not available?
--Is RH server user doc available on the web site? I found
the Getting Started gude, which isn't much use in evaluating the
product.
I have additional questions, but if you can answer these
questions or direct me to answers some of those may be covered.
Thanks,
Mike
Access database.Hey, Mike!
I found a few things for you. I'm in a hurry, so I'll list
them quickly.
For the Trial, go to the Adobe downloads page
http://www.adobe.com/downloads/
Then select RoboHelp Server 6 from the dropdown list. You
will be asked to register (free) if you haven't already. When you
arrive at the download page make sure you note the Trial Serial #
To make it easier for you, its:
1336-1033-2628-5062-0993-4570
You can also find a RoboHelp Server 6 Getting Started Guide
here
http://www.adobe.com/support/robohelp/downloads/getting_started_rh6_server.pdf
You were asking about IIS. Yes. As Colum says, this comes
with virtually any version of Windows Server (or Windows XP
Professional). However, you must install and configure it. I am not
an IT or web administrator so it took me a while to learn, but
amazingly I got it to work if you're patient and follow the steps.
(I'm speaking of both IIS and Robohelp Server) Clearly IIS
configuration is not a trivial thing and it is assumed that an
author would have help and cooperation from the IT or Web Admin
folks.
As for customizing reports. At present, the existing reports
are the only ones offered. Since these reports are generated from a
database (Access, SQL Server or Oracle) I would think (haven't done
it myself) that someone familiar with database adminstration could
open the DB (after a backup that is) and be more creative with
generating customized reports.
You are right that the "Question" does in fact mean any
search term or phrase that an end user puts in the search field.
This is the string that is stored and reported as a question. In
discussing this with the Adobe team at STC last month, they agreed
that this was definitely a holdover from the legacy software and is
due for a change sometime in the future.
To answer your other question, text entered in the Index
field is not stored in the database, only the search term field.
Since taking on the old legacy product from eHelp and
Macromedia, Adobe is focusing most of its attention on beefing up
the client authoring app for the next version (Adobe RoboHelp 7).
My assumption is that they are keen on improving the RoboHelp
Server as well. I have passed along many feature requests along the
lines you seem to suggest and hopefully the server will evolve
along with the client app.
Even with its limitations, my clients tell me RoboHelp Server
provides very useful feedback to help them improve their knowledge
base content to make it more helpful and responsive to users needs.
They also like the searchability of PDF, Word, PPT and Excel as
well...something which plain WebHelp without the RoboHelp Server
does not do.
I probably didn't get to everything, but hope this helps.
John -
Need info about 2006s(5.1/5.2)
Hi,
Need some info about the new product 2006s (5.1/5.2), what are the new features, whats new on the technology side, what skill sets will be required for these products.
is GUI/SPRO still there in the new products or some new config tool is being introduced.
any info is helpful, pls share usefull docs, links to SAP docs.
pls email me at [email protected]
thanks
RHHi rh,
The theory is a new interface, replace gui an pcui. The configuration is based in business roles and this configuration is with spro customizing. Web Client tecnology based and the most important news is a new configuration tool to modify the layout.
Regards.
Manuel -
Need info about GN_INVOICE_CREATE
Hi experts!
I need to create Credit / Debit memo invoices in my Z program, so I decided to use GN_INVOICE_CREATE for this, but can not find info about parametres of this FM....
could anyone explaine how to use this FM or maybe someone has a peace of sample code of using this FM?
Helpful answers and advices will be rewarded.
Here is this FM:
CALL FUNCTION 'GN_INVOICE_CREATE'
EXPORTING
DELIVERY_DATE =
INVOICE_DATE =
INVOICE_TYPE =
PRICING_DATE =
VBSK_I =
WITH_POSTING =
CALLER_TYPE =
I_WITHOUT_REFRESH =
ID_NO_ENQUEUE =
ID_KVORG =
ID_NO_DIALOG =
ID_NEW_CANCELLATION =
IMPORTING
VBSK_E =
TABLES
XKOMFK =
XKOMFKGN =
XKOMFKKO =
XKOMFKTX =
XKOMV =
XTHEAD =
XVBFS =
XVBPA =
XVBRK =
XVBRP =
XVBSS =
XKOMFKZM =
SUCCESS_DOC_OUT = .Hi Mindaugas,
check BAPIinvoice in SE37, e, here u cannt directly make use of GN_invoice_create, Bcos here u dont have condition records data.
so search in SE37 or Tcode BAPI , here u can get FMs along with Documentations.
Regards
Peram -
Needed info about io devices and cpu without using prtdiag
Hi
I need to collect info about io devices and cpu. but i cannot use prtdiag.
is there any way to collect this information on solaris machine....
may any available c APIs
Thanks in advance.
Nageshyep.... prtconf -vp | grep <wot u r looking 4>
-
Need info about programming with InCopy
Hi,
I have a client who has stored thousands of InCopy documents with valid styles applied to segments of it.
Now my requirement is to create a template which has XML tag -> Style mapping.
Considering that template, I am suppose to open all the InCopy documents, apply that Tag -> Style mapping to it and then convert all of them to XML and persist the data in DB.
Is there a programmatic way as to apply XML tags to a document based on the styles used?
Please educate. I am a complete newbie to InCopy - so please bare with my questions,
Thank you, Appreciate your help.
Regards,
ChintanYou could download and deploy "struts-example.war" from apache website.
[That Struts 1.0.2 I think.]
---Nam
Jordy wrote:
> I want to find out how to use it with WL 7.0. Would anyone give me any info about it? :) Thanks
And God said
Let there be numbers
And there were numbers.
Odd and even created he them,
He said to them be fruitful and multiply,
And he commanded them to keep the laws of induction.
[Bill Taylor [email protected]]
[nam_nguyen.vcf]
-
Need Info about using Strut with WL 7.0
I want to find out how to use it with WL 7.0. Would anyone give me any info about it? :) Thanks
You could download and deploy "struts-example.war" from apache website.
[That Struts 1.0.2 I think.]
---Nam
Jordy wrote:
> I want to find out how to use it with WL 7.0. Would anyone give me any info about it? :) Thanks
And God said
Let there be numbers
And there were numbers.
Odd and even created he them,
He said to them be fruitful and multiply,
And he commanded them to keep the laws of induction.
[Bill Taylor [email protected]]
[nam_nguyen.vcf]
-
Need Info About Document Management System
Hi All,
I need information about Document Management system.
How it is linked with KM
Thanks
ArunHi Arun,
DMS is available in R/3 Systems as a individual module and can be linked with KM using DMS Connector for KM. Find the links below..
Check this out...
<a href="http://help.sap.com/saphelp_nw04/helpdata/en/30/08a037b9e62417e10000009b38f889/frameset.htm">DMS</a>
<a href="https://www.sdn.sap.com/irj/sdn/thread?threadID=26682">Thread 1</a>
<a href="https://www.sdn.sap.com/irj/sdn/thread?threadID=235959">Thread 2</a>
Hope this helps.
Regards,
Venkat. -
Need info about nvidia graphics card supported with premiere pro cs5
Hi
I need information about nvidia graphics card supported with premiere pro cs5
If I have a computer(portable) with this video card or graphics card :
nVIDIA® GeForce™ GTX 285M with 1GB DDR3 Video Memory available in Single or Dual (SLi) Configurations
Microsoft® DirectX® 10 Compatible
is it going to support MPE in premiere pro cs5?
Regards,
VinayTo be clear:
You asked about supported cards. Here is a list of supported cards. Others on this thread are telling you how to make an unsupported card function to some degree using a method that is not advocated by Adobe. -
Hi every one
I need information about the following stream cipher,
.py
.RC4
any body knows about then, please pass me link/material.
ThanksSyed,
RC4 is stream cipher designed by Rivest for RSA Data Security, Inc. It is a variable key-size stream cipher with byte-oriented operations. The algorithm is based on the use of a random permutation.
http://www.rsasecurity.com/rsalabs/node.asp?id=2174
http://en.wikipedia.org/wiki/Stream_cipher
.Py
http://en.wikipedia.org/wiki/Py_(cipher)
I hope the above information helps.
Regards,
Arul
** Please rate all helpful posts ** -
Need info about bundled soware with Satellite A200-1FJ
Hello all,
is Windows Vista preinstalled?
Do they provide a copy with the laptop?
What about driver disk?
I've just received a recovery disk with my laptop.
Some one bought the laptop for me from kuwait.
Can anyone guide me about the dvd's included with the laptop.
best regards
MurtazaHello
I can just confirm what previous user has posted. Recovery DVD delivered with your notebook contains recovery image. Recovery image contains OS, all necessary drivers, tools and utilities. It also contains several different applications like WinDVD (for watching DVD movies) and Norton (make your notebook safe if you want to connect it to the LAN and use Internet).
Every time if something goes wrong you can use delivered recovery media and install OS again. You can do this without any restriction and 1000 times if you want. Very important is that you do not need any registration by Microsoft.
If you have more questions please write again. Good luck! -
Hi,
I have some simple questions for jsp "experts". is it possible to get a version of jsp for free or how much does it cost?
how safe is it to use in a big network of computers?
Which databases does JSP support?
please, please, answer as soon as possible!! =)
thanks
/jennyThere are many JSP/Servlet server products which are free. These include Tomcat, Resin, JBoss, etc. These are all great for development-level work or small Net apps). If you need to implement a larger J2EE solution you will definitely want to look into one of the retail server products. These range from the very inexpensive (like Allaire's JRun) all the way up to expensive (like BEA's WebLogics) and everywhere in between. Just depends on your needs, budget, and requirements.
Extremely safe. Especially when you look at the alternatives/competition (i.e., M$ COM/DCOM/ASP).
Java supports just about every RDBMS on the market right now (you will run into difficulties with M$ SQLServer, but there are options). There are also drivers available for many legacy data sources. The subset of java which deals with database access is named JDBC; you may want to research this a little. Here is a link to the available JDBC drivers search page:
http://industry.java.sun.com/products/jdbc/drivers -
Satellite P105-S9722: Need info about Toshiba Warranty Policy
Hi,
I would have a question regarding the international warranty policy of Toshiba, I searched but didn't find the answer on the site.
I have a P105-S9722 that I purchased February last year and the warranty expired in Feb 08.
The entire screen was replaced free last November due to a failure.
Now I have another screen related problem developed few days ago (grey vertical line in the middle - likely needs another replacement). (so the original expiry date is over, 7 months passed since the replacement)
I would like to know whether for the screen do I have automatical warranty extension for another 1 year (from Nov 07) or not. The local distributor said "no", I called another country, they said only for the replaced part it IS extended. Now I'm confused whether I can claim free replacement.
What is then the standard international policy and what should I do?
Many thanks for your help.
LasloHi Laszlo
Hmm. Your notebook is a US series and it seems to be designed for the US market.
Im not sure about the US warranty policy but as far as I know the European notebooks are covered by warranty for one year.
This is a standard warranty and if you register your notebook on the Toshiba European website then your warranty will extend to 2 years.
If something was replaced on your notebook then the new part is covered by warranty for about 6 month.
I hope this short explanation helps you and clarify the warranty questions.
Greetings
Maybe you are looking for
-
I recently deleted an older version of Firefox that my dad had been using on his user account and i noticed as he had explained to me that when i clicked on Firefox to start it up and make sure its on my computer as a second option to our primary Goo
-
Pictures on my imessage wont send??
i udated my ipad software to the ios 6.0 and it doesnt send any pics! but it receives texts, pics and videos, i just cant send the pics or videos they just sit there for at least 5 minutes then it has the red "not delivered" meesage i've reset imessa
-
ESYU: PO line/shipment가 Item supply/demand에 보이지 않는 경우 add/correct 하는법
Purpose Oracle Purchasing - Version: 11.5.10 Purchase Order Line/Shipment가 Item Suppy/Demand에 나타나지 않을때 missing supply를 add 하거나 correct 하는 방법에 대해 알아본다. Solution 1. Record 확인을 위해 아래 query를 이용한다. Approved POs에 대한 Missing Supply: SELECT DISTINCT poll.lin
-
How To Install Live Type In 10.8.3
Hi My self Varun, My English is not Good. I am using 10.8.3 and i have Final Cut Studio 2.0 (48.52 GB) 1st i installed rosetta from my 10.6 installer In 10.6 DVD there is a folder name Optional Installs.mpkg, run it and install rosetta, bcoz FCS 2 wo
-
I cannot get my pics on Elements 12 to upload to my revel Revel account.
Two weeks ago I upgraded from the trial version of Elements to the purchased Elements product and paid for a Revel subscription. Since then my pics stopped uploading to Revel. I have spent hours reading forums, been on two chats with adobe cust. serv