How to connect informix database from informatica through JDBC instead of ODBC
How to connect informix database from informatica through JDBC instead of ODBC.
Hi mate,
You may get fast reply for this in informatica forums.
Thanks
http://mkashu.blogspot.com
Similar Messages
-
How to connect oracle database from tuxedo
Hi,
How to connect oracle database from tuxedo.
If any one can help me.
Regards,it depends on configuration your going to choose, there are two ways--
- Using X/Open standards, for this
you have to make an entry of Resource manager in $TUXDIR/udataobj/RM file.
Then in UBBConfig file in GROUPS section u have to set Openinfo.
It also depend on which database you are going to use.
In your service now you need to call tpopen() API from tpsvrinit() function.
- Other possibility is, take an implicit connection using Pro*C or Pro*Cobol whatever platform you are using.
EXEC SQL Connect ... -
How to Connect Oracle database from excel
I have installed oracle 11g on Windows 8 64 bit OS on my laptop. I have Microsoft excel 2013. I can connect to database from SQL and from TOAD. Now i want - from excel to connect to database.
Please guide me the steps.
ThanksBelow link may be helpful to you :
http://khalidali-oracledba.blogspot.in/2013/09/connection-between-ms-excel-to-oracle.html
And if you are getting 32 bit vs 64 bit ODBC driver issue then :
https://social.technet.microsoft.com/Forums/office/en-US/2234554e-e93c-438b-990a-6739df19da44/odbc-connection-problem-in-excel-2013-64-bit-windows-8-os-and-x64-processor-oracle-8i?forum=excel
And still you are not able then post the question in :
ODBC
Regards
Girish Sharma -
How to connect the database from one ip to another ip pc.?
hai,
iam new to the obiee. i have the database in the ip : 198.0.0.0(for ex) and i have to connect that through the odbc to my pc ip: 198.0.0.1 (for ex). plz explain how we can connect to the other database from our pc to import that database to our administrator tool in bi.
thanks in advance,hi...
install client software in your machine
perform, listener configuration using net configuration assistant,
Now using this listener name, you create a DSN and use it in rpd,, you want to develope
OR
go to ODBC Data Source & Administrator and add DSN with Microsoft ODBC for Oracle
in server field, you write your parent machine\listenername
and use this in rpd... i hope the second one works out... -
How to connect Oracle database from Active Server page
Hi
This is srinivas aluri
I have developed an application using ASP and MS-SQL7.
Now i want to port this application to Oracle 8i database
I have written my connection in seperate file called
connection.inc using SQL OLEDB provider
If i have to connect oracle database what will be my provider
and what is the exact code for this connection string
Here i am giving the code of SQL databse connection string
strcon= Provider=SQLOLEDB.1;Persist Security Info=False;User
ID=sa;Initial Catalog=prjdb;Data Source=servername
i have tried by changing the provider name from SQLOLEDB.1 to
OraOLEDB.oracle
but i could not able connect the database.
It is giving provider not found or not properly installed error.
But the same code is perfectly working from Visual Basic code.it depends on configuration your going to choose, there are two ways--
- Using X/Open standards, for this
you have to make an entry of Resource manager in $TUXDIR/udataobj/RM file.
Then in UBBConfig file in GROUPS section u have to set Openinfo.
It also depend on which database you are going to use.
In your service now you need to call tpopen() API from tpsvrinit() function.
- Other possibility is, take an implicit connection using Pro*C or Pro*Cobol whatever platform you are using.
EXEC SQL Connect ... -
How to connect oracle database from solaris platform
I have installed oracle9i client on solaris8, how can I configure to connect other oracle database?
thanks for your assistance!!If the database is remote you would need to setup a sqlnet.ora and a tnsnames.ora file. Their locations are platform dependent. On AIX the files are in /etc while on some platforms you find the files in /var/opt/oracle and on others $ORACLE_HOME/network/admin. We have a Sun Sparc running SunOS 5.6 that has them in /var/opt/oracle.
Configuation can be done through the installer as part of the install process, probably using a gui tool, or manually. We vote for manually.
See your install README files and the ORANET manuals for details. Or once you know where the files belong copy them from a platform that can access the db you want to reach and just remove unnecessary lines for other databases.
HTH -- Mark D Powell -- -
How to connect to database from IIS7 website
My environment: IIS7.5 on Win7, SQL Server 2008R2 on Win2008R2, VS2010, ASP.NET 4.0
My Scenario:
I have an intranet website running uder IIS. The site requires access to a SQL Server database on a different server.
The site Authentication has "Windows Authentication" and "ASP.Net Impersonation" enabled.
The site uses an Application Pool with ".NET Framework Version" = "v4.0", "Managed Pipeline Mode" = "Integrated" and "Identity" = "ApplicationPoolIdentity".
The database connection string is "Data Source=RSDXTST01.RESOLUTEENERGY.COM;Initial Catalog=ResoluteIntranet_Test;Trusted_Connection=yes".
My Issue:
When I inherited responsibility for this website there was a Sql Server Login "NT AUTHORITY\ANONYMOUS LOGON" with "public" and "sysadmin" server roles. Our IT manager is uncomfortable with this login being in a sysadmin role.
I can create a special domain user in Windows with appropriate permissions but how do I get IIS to attempt connecting to the database using this user instead of "NT AUTHORITY\ANONYMOUS LOGON"?Having a SQL Server Login with sysadmin privileges is indeed a bit "crazy", to name it.
So you are on the right track when you create a simple Login with only access to the database in question and appropriate permissions on that.
You IIS Admin has to specify that user's credentials in the Connection String on the Web-Application. Make sure he uses windows-authentication. Otherwise he should at least encrypt that entry.
For moe details on those procedures you indeed may want to ask in a IIS/Webserver forum
Andreas Wolter | Microsoft Certified Master SQL Server
Blog: www.insidesql.org/blogs/andreaswolter
Web: www.andreas-wolter.com |
www.SarpedonQualityLab.com -
How to connect to Pgsql on server through jdbc with java on local machine
I am developing an application in which I have to connect to my database that is in Pgsql and Pgsql is installed on Linux server. I am going to access that from my java program and the java is here on my local computer(in Linux). All the intranet connections are there. How can I get accees to that database? I have heard of java SSL tunnel. Is this the only solution or there is something else that I can use more easily. Also if I use java installed on th same server as Pgsql then what I will have to do to call the java methods using AMI. Will the java at server be able to make connection to Pgsql more easily? Please tell me about it if you know.
ThanksThe closer java and pgsql, the easier it is of course to connect. So the easiest way is to have everything on the same machine. If you are in the same network you will need an IP based network, which is pretty much standard these days. In this case you need to modify the pg_hba.conf file to allow connections from other machines. In both cases you have to start the postmaster with the -i option to enable enable TCP/IP connections.
Having java and pgsql connected through the internet is a different story, I do not have any experience with that. But you can use ssh to build a tunnel and connect to a local ip address / port from java which is then forwared securely via the internet to the server.
In all cases you will need the postgres jdbc driver in your classpath. You can find information about postgres and jdbc on the postgres web site.
good luck -
How to connect external database(Ex:SQL Server/Tivoli) from ABAP Webdynpro
Hi,
Any one have idea how to connect external database like SQL Server/Tivoli to access tables from WebDynPro ABAP.
Please point to me some links if you have
Thanks
PraveenHi,
Please check out this link -
FETCH DATA FROM ORACLE DATABASE USING Web Dynpro
Regards,
Lekha. -
How to use JDBC to connect informix database
Dear all,
I want my client application to connect informix database by using JDBC. The JDBC driver has been installed successfully in the client computer (Win2000). The informix 5.0 resides the a Unix server named "dbserver". The following is my java program.
========================
import java.sql.*;
import java.awt.event.*;
public class Application1 {
public static void main(String[] args) {
Connection conn;
try
Class.forName("com.informix.jdbc.IfxDriver");
catch (Exception e)
System.out.println("Error "+e.getmessage());
e.printStackTrace();
return;
System.out.println("It is ok");
try
conn = DriverManager.getConnection("jdbc:informix-sqli://dbserver:1526:INFORMIXSERVER=dbserver;username=test;password=******");
catch (SQLException e)
System.out.println("ERROR ."+e.getMessage());
e.printStackTrace();
return;
System.out.println("All is fine");
===========================
However, the error appears mentioning "Attempt to connect to database server (dbserver) failed." I don't know what the problem is because my informix database server is exactly "dbserver".
Kindly need help from you guys. Thanks in advance.
KevinHi,
Plz try this (instead of 'username' use 'user') ...
DriverManager.getConnection("jdbc:informix-sqli://dbserer:1526:INFORMIXSERVER=dbserver;user=test;password=*****");
or this (pass the username and password as params)....
DriverManager.getConnection( "jdbc:informix-sqli://dbserer:1526:INFORMIXSERVER=dbserver" , "test" , "*****" );
Hope this helps
ssa.
>
I want my client application to connect informix
database by using JDBC. The JDBC driver has been
installed successfully in the client computer
(Win2000). The informix 5.0 resides the a Unix server
named "dbserver". The following is my java program.
========================
import java.sql.*;
import java.awt.event.*;
public class Application1 {
public static void main(String[] args) {
Connection conn;
try
Class.forName("com.informix.jdbc.IfxDriver");
catch (Exception e)
System.out.println("Error "+e.getmessage());
e.printStackTrace();
return;
System.out.println("It is ok");
try
conn =
onn =
DriverManager.getConnection("jdbc:informix-sqli://dbser
er:1526:INFORMIXSERVER=dbserver;username=test;password=
catch (SQLException e)
System.out.println("ERROR ."+e.getMessage());
e.printStackTrace();
return;
System.out.println("All is fine");
===========================
However, the error appears mentioning "Attempt to
connect to database server (dbserver) failed." I don't
know what the problem is because my informix database
server is exactly "dbserver".
Kindly need help from you guys. Thanks in advance.
Kevin -
How to Connect MySQL Database Through JTable?
Hi,
How to Connect MySQL Database Through JTable? anyone of u knows these concept please send me coding of that Part..
Thanks,
Guru..Start by reading the tutorials. There's a section on Swing which shows you how to use tables and a section on JDBC which shows you how to use SQL.
And you can always search the forum as well since there are working examples of both posted on the forum.
If you need further help with a specific problem then you need to create a [Short, Self Contained, Compilable and Executable, Example Program (SSCCE)|http://homepage1.nifty.com/algafield/sscce.html], that demonstrates the incorrect behaviour.
Don't forget to use the [Code Formatting Tags|http://forum.java.sun.com/help.jspa?sec=formatting], so the posted code retains its original formatting. -
Problem in connecting to database from webdynpro for java
Hi
I have a problem in connecting to database from webdynpro application
I am using oracle 10 express edition as database and was able to connect to database from a java application.But was unable to connect from a webdynpro for java.
<b>I guess webdynpro for java uses open sql instead of vendor sql(I looked in the visual admin ,DB is using open sql) so unable to connect to database.Am i right.?</b>
Do i need to make any settings in the visual admin to make it work?
How to solve this problem.Please give me pointers
Thanks
BalaHi,
For connecting to Oracle, either you can use the normal JDBC connectivty code directly which is given below :
DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
Connection conn = DriverManager.getConnection("jdbc:oracle:thin:@Oracle_server_ip:Oracle port:SID of the Database","user_name","password");
Statement stmt = conn.createStatement();
ResultSet rs = stmt.executeQuery("your query");
In case you want to fetch data through ejbs, these are the steps to be followed :
1) Open the J2EE perspective
2) Create an EJB Module project
3) Right click on ejbModule, create a new EJB (select your EJB type)
4) While creating the ejb itself, you can add business methods by clicking Next in the UI. Another option is after creating the ejb, write the method in the bean, then select the method from ejb-jar.xml -> <bean name> ->method. Right click and select propogate to local & remote.
5) Double click on ejb-j2ee-engine.xml. select your bean and specify a Jndi name for eg: MyJndi.
6) Right click on the EJB project and add classes12.zip file (provided by Oracle) to its build path. (under libraries tab). Also check the same file under Order & Export.
7) Create an Enterprise Application project.
8) Right click on the EJB module project and select add to EAR project, then select the created EAR project.
9) Right click on the EJB project, select Build EJB Archive
10) Right click on the EAR project, select Build Application Archive
11) Open the WebDynpro perspective, open a new project, right click on the project ->properties. Do the following configurations :-
Java Build path - select the EJB project from projects , check the selected project under Order & Export
Project references select the EAR project
WebDynpro references select sharing references tab, click add & make an entry as : <vendor>/<EAR project name without .ear extension>
You can find the vendor name under application-j2ee-engine.xml file of the EAR project. By default it is sap.com. So if my EAR projects name is ABC, my entry would look like sap.com/ABC
12) Now the configurations are over and the EJB can be invoked by writing the client code inside the webdynpro component. Like:
InitialContext context = new InitialContext();
Object obj = context.lookup("MyJndi");
MyEJBHome home = MyEJBHome)PortableRemoteObject.narrow(obj,MyEJBHome.class);
MyEJB mybean = home.create();
int a = 0;
a= mybean.add(10,15);
wdContext.currentContextElement().setSum(a);
where MyEJB is my EJB name and MyJndi is my JNDI name
To connect to Oracle , you can write the usual Java code (given below) as a business methos of the ejb (similar to add() method in the example). And access it like mybean.<businessMethodName>().
DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
Connection conn = DriverManager.getConnection("jdbc:oracle:thin:@Oracle_server_ip:Oracle port:SID of the Database","user_name","password");
Statement stmt = conn.createStatement();
ResultSet rs = stmt.executeQuery("your query");
Extracted from Re: Webdynpro and Oracle
http://help.sap.com/saphelp_webas630/helpdata/en/b0/6e62f30cbe9e44977c78dbdc7a6b27/frameset.htm
May be of use to understand the VA Conf /people/varadharajan.krishnasamy/blog/2007/02/27/configuring-jdbc-connector-service-to-perform-database-lookups
Regards
Ayyapparaj -
How to connect mysql database using xml
welcome to all,
here my doubt is how to connect mysql database using xml file, how to integrate xml file and jsp file and how to access data from dabase using jsp file. can any one help me
regardsShort answer: you wouldn't do any of those things. The first two are meaningless and the third is a bad practice. I have no idea what those ideas were supposed to achieve so I have no idea what tutorials I should suggest to you.
-
How to connect to database in JSP
Hi, all.
I am using J2EE and cloudscape. I have written all the EJB classes. But now i have no idea that how to connect to database in jsp such as i get user ID from portal, then i connect to database check the existence of user ID and the password then return true or false value. how to write all this in jsp?
Thanks very much!
yayunthis is the required code
i hope this will help u
<html>
<head>
</head>
<body>
<%@ page import="java.sql.*" %>
<%
try
String fu=request.getParameter("username");
String fp=request.getParameter("password");
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Connection Con=DriverManager.getConnection("jdbc:odbc:wind","","");
Statement stmt=Con.createStatement();
ResultSet rs=stmt.executeQuery("select * from table1 where username='"+fu+"' and password='"+fp+"'");
if(rs.next())
%>
<jsp:forward page="success.jsp"/>
<%
else{
%>
<jsp:forward page="unsuccess.jsp"/>
<%
catch(Exception e)
%>
</body>
</html> -
How to connect DB2 database to Xcelsius
Hi,
I am looking out for options to connect my DB2 database to xclesius. I dont want to go for BOBJ licensing cost. Do we have some other way to achieve this?
Thanks,
NehaCheck out the below links:
How to connect to DB2 from xcelsius without the presence of BO environment
https://www.google.co.in/url?sa=t&rct=j&q=&esrc=s&source=web&cd=8&cad=rja&uact=8&ved=0CFEQFjAH&url=http%3A%2F%2Fwww.busi…
Page no 7 has explained how to connect DB2 using the data access driver.
--SumanT
Maybe you are looking for
-
+/- in Query ...
Hi All, My client wants to see only some values as '+' and some values as '-' in the same column, while currently all values are showing as '-'. There are about 40 different values going againsts the rows currently. Is it possible to do so in the BEx
-
I have 180 imported stills in a composition. I have corresponding image sequences that I want to convert each still to. The stills are named "x-00001.jpg", and the other parts of the image sequence are in the same directory. How do I get AE CC to mak
-
I thought I could make a properties file that looked like this: my.array.values=blah my.array.values=blah blah my.array.values=oh blahbady blah...then I can get the properties out as an array. Did I just imaging that or something? How would I get an
-
Remove the line in component af:panelHeader
How can I remove the line that comes by default with the component <af:panelHeader>? How to apply custom background color to the panel? For example: <af:panelBox styleClass="panelClass" rendered="true" width="100%" background="medium" id="pbBasi
-
Encrypted file deleted from edge servers
when any user try to send encrypted files as attachment from internal to external edge server stripe the attachment. and there is no attachment filter entry for encrypted files in the attachmentfilterconfiguration.