Re: [Info-Ingres] JDBC driver for Ingres 2.5
- From: "Wooton, Geoffrey (NESL-IT)" <Geoffrey.Wooton@xxxxxxxxxx>
- Date: Tue, 20 Mar 2007 10:54:19 -0000
Good morning all,
Do you not need to talk to the port of the DAS server(iigcd) on the server
side ?
This is available r3/2006 so you probably need a comms only install of 2006
then vnode out from there to your target database.
Geoff
-----Original Message-----
From: info-ingres-bounces@xxxxxxxxxxxxxxxxxxxxxxxxx
[mailto:info-ingres-bounces@xxxxxxxxxxxxxxxxxxxxxxxxx]On Behalf Of
kodaliece@xxxxxxxxx
Sent: Tuesday, March 20, 2007 10:38 AM
To: info-ingres@xxxxxxxxxxxxxxxxxxxxxxxxx
Subject: Re: [Info-Ingres] JDBC driver for Ingres 2.5
Hi
We are using the following code to connect:
private String connectString = "jdbc:edbc://10.118.131.214:117/";
private String vnode = "LOCAL";
private String user = "";
private String password = "";
private Connection con = null;
Class.forName("ca.edbc.jdbc.EdbcDriver");
con = DriverManager.getConnection(connectString + vnode, user,
password);
But this is throwing the error: Exception in thread "main"
java.sql.SQLException: Unable to establish connection
due to communications error.
Could you please tell what can be the problem?
On Mar 20, 2:45 pm, "jpzu...@xxxxxxxxx" <jpzu...@xxxxxxxxx> wrote:
On 20 mar, 10:33, kodali...@xxxxxxxxx wrote:
Hi,
Do we have any JDBC driver available for Ingres 2.5. If yes, can
anybody please post me the sample code for connecting to Ingres
database using this driver.
Thanks
Mohan
Hello,
Yes the JDBC driver is available for Ingres 2.5, and must be installed
and started from server side.
See in the documentation for 2.5 details but for Ingres2006 the URL
look like this : jdbc:ingres://host:port/[dbname|vnode::dbname/
server_class];attr=value
Hope this help,
Jean-Pierre
_______________________________________________
Info-Ingres mailing list
Info-Ingres@xxxxxxxxxxxxxxxxxxxxxxxxx
http://www.kettleriverconsulting.com/mailman/listinfo/info-ingres
**********************************************************************
The information contained in this e-mail is confidential and intended only
for the use of the addressee. If the reader of this message is not the
addressee, you are hereby notified that you have received this e-mail in
error and you must not copy, disseminate, distribute, use or take any action
as a result of the information contained in it.
If you have any queries, please contact the IT Service Desk on 1870
(01384-275454).
postmaster@xxxxxxxxxx
**********************************************************************
.
- Prev by Date: Re: [Info-Ingres] Packed decimal overflow
- Next by Date: Re: [Info-Ingres] Packed decimal overflow
- Previous by thread: Packed decimal overflow
- Next by thread: Re: [Info-Ingres] Packed decimal overflow
- Index(es):
Relevant Pages
|