Welcome to dbForumz.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Ingres-specific Handle object for perl DBIx

 
   Database Forums (Home) -> Ingres RSS
Next:  Alternates in LIKE  
Author Message
Roy Hann

External


Since: Sep 12, 2006
Posts: 44



(Msg. 1) Posted: Fri Jan 22, 2010 5:18 am
Post subject: Ingres-specific Handle object for perl DBIx
Archived from groups: comp>databases>ingres (more info?)

Has anyone out there done any work on an Ingres-specific Handle object
for perl DBIx?

--
Roy

UK Ingres User Association Conference 2010 will be on Tuesday June 8 2010
Go to http://www.iua.org.uk/join to get on the mailing list.

 >> Stay informed about: Ingres-specific Handle object for perl DBIx 
Back to top
Login to vote
Chris

External


Since: Jan 25, 2010
Posts: 3



(Msg. 2) Posted: Mon Jan 25, 2010 11:52 am
Post subject: Re: Ingres-specific Handle object for perl DBIx [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Jan 22, 3:18 am, Roy Hann wrote:
> Has anyone out there done any work on an Ingres-specific Handle object
> for perl DBIx?

Roy,

It sounds like you want a DBD driver, is that what you are looking
for?

Try http://community.ingres.com/wiki/Perl_DBI as a starting point.
There are two options on that page.

I would be tempted to take the ODBC option; if you are on Windows this
comes as part of the install. If you are on a Linux distro you can get
prebuilt binaries.

Regards,

Chris

 >> Stay informed about: Ingres-specific Handle object for perl DBIx 
Back to top
Login to vote
Roy Hann

External


Since: Sep 12, 2006
Posts: 44



(Msg. 3) Posted: Mon Jan 25, 2010 3:45 pm
Post subject: Re: Ingres-specific Handle object for perl DBIx [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Chris wrote:

> On Jan 22, 3:18 am, Roy Hann wrote:
>> Has anyone out there done any work on an Ingres-specific Handle object
>> for perl DBIx?
>
> Roy,
>
> It sounds like you want a DBD driver, is that what you are looking
> for?
>
> Try http://community.ingres.com/wiki/Perl_DBI as a starting point.
> There are two options on that page.
>
> I would be tempted to take the ODBC option; if you are on Windows this
> comes as part of the install. If you are on a Linux distro you can get
> prebuilt binaries.

Thanks Chris.

As you probably know, DBIx is supposed to be an application development
layer that is claimed to provide a higher level of abstraction than
DBI, and sits on top of DBI.

Unfortunately the package that I am trying to coax into life was written
using DBIx, so I am stuck with it.

The ODBC option is my Plan B. It would be nice to get DBIx working
natively with Ingres though, for aesthetic and propaganda reasons if for
no other.

Since I posted this question Grant Croker has pointed me to Keith
Bolam's work on DBIx for Ingres. I shall encourage Keith to brag about
his victory here, once it is fully working.

--
Roy

UK Ingres User Association Conference 2010 will be on Tuesday June 8 2010
Go to http://www.iua.org.uk/join to get on the mailing list.
 >> Stay informed about: Ingres-specific Handle object for perl DBIx 
Back to top
Login to vote
jimmythegeek44720

External


Since: Feb 03, 2005
Posts: 2



(Msg. 4) Posted: Fri Jan 29, 2010 5:17 am
Post subject: Re: Ingres-specific Handle object for perl DBIx [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Jan 22, 6:18 am, Roy Hann wrote:
> Has anyone out there done any work on an Ingres-specific Handle object
> for perl DBIx?
>
> --
> Roy
>
> UK Ingres User Association Conference 2010 will be on Tuesday June 8 2010
> Go tohttp://www.iua.org.uk/jointo get on the mailing list.

Here's simple connect perl script for your imadb. Love perl - works
great with Ingres. Run our scripts on a Solaris box:

use
strict;
use
DBI;

my $dbh = DBI->connect('dbi:Ingres:imadb') || die "Database connection
not made:

$DBI::errstr";

print "Connected!\n
\n";

print
"Disconnecting ...";
$dbh->disconnect
();
print "Done\n
\n";
 >> Stay informed about: Ingres-specific Handle object for perl DBIx 
Back to top
Login to vote
Roy Hann

External


Since: Sep 12, 2006
Posts: 44



(Msg. 5) Posted: Fri Jan 29, 2010 8:06 am
Post subject: Re: Ingres-specific Handle object for perl DBIx [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

wrote:

> On Jan 22, 6:18 am, Roy Hann wrote:
>> Has anyone out there done any work on an Ingres-specific Handle object
>> for perl DBIx?
>
> Here's simple connect perl script for your imadb. Love perl - works
> great with Ingres. Run our scripts on a Solaris box:
>
> use
> strict;
> use
> DBI;
>
> my $dbh = DBI->connect('dbi:Ingres:imadb') || die "Database connection
> not made:
>
> $DBI::errstr";
>
> print "Connected!\n
> \n";
>
> print
> "Disconnecting ...";
> $dbh->disconnect
> ();
> print "Done\n
> \n";

Thanks Jimmy.

I must apologise for not having made it clearer that I was asking about
DBIx (with an "x" on the end), not DBI. However I do have an answer
now, thanks to Grant Croker and Keith Bolam.

--
Roy

UK Ingres User Association Conference 2010 will be on Tuesday June 8 2010
Go to http://www.iua.org.uk/join to get on the mailing list.
 >> Stay informed about: Ingres-specific Handle object for perl DBIx 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
How to handle strings in Ingres procedures - Hi, I want to read a string type files, split it based on a delimiter and work with the splitted strings. Can anyone help me on this?

[Info-Ingres] FW: VIP Webinar - The Ingres Source Architec.. - If you missed the first presentation the next one starts in under an hour. Colombo (Sri Lanka) Thursday, 17 January 2008 at 6:30:00 AM Brisbane (Australia - Queensland) Thursday, 17 January 2008 at 11:00:00 AM Los Angeles (U.S.A. - California) Wednesday...

[Info-Ingres] [IJ] INGRES Source: .lot files? - Can someone explain (briefly) what the function of the .lot files are in the INGRES source? This isn't impeding anything I'm doing, I just came across it while looking around in ".../src/back/dmf/dmf/". -- Mark R. Winston www.datavailable.c...

[Info-Ingres] Ingres 2006 Net Enterprise Edition - Hi all: I have a doubt about fee I have to pay for in the next scenario: 1.- Machine A: Linux OS with dual core CPU as my Ingres Enterprise Edition database server 2.- Machine B: Linux OS with dual core CPU as my Ingres Net Enterprise Edition client..

[Info-Ingres] ODBC still requires Ingres/NET? - Gang, I haven't really messed with Ingres and ODBC for quite some time. I'm pretty sure it hasn't changed that much, but I wanted to make sure. Is there a version of the ODBC driver that doesn't require Ingres/NET be installed on the client? Thanks, ...
   Database Forums (Home) -> Ingres All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]