comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: database connection with idl without dataminer
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: database connection with idl without dataminer [message #40128] Wed, 21 July 2004 08:24 Go to next message
Michael Wallace is currently offline  Michael Wallace
Messages: 409
Registered: December 2003
Senior Member
> I noticed this has come up every so often in the group. I wanted to
> ask if anybody has had any success in interface to a database(i.e.
> access or mysql) without the use of dataminer. We are currently using
> IDL in a windows XP environment.

The only way I know to communicate with a database without using
Dataminer is to use external code. I use Java to handle all of my
database interactions from IDL. You could potentially use C code to
handle the database communication if you're more familiar with C than Java.

The IDL-Java Bridge (new in IDL 6.0) allows you to create Java objects
within IDL. Since there are a plethora of classes within the java.sql
package, I wrote a couple of Java classes which act as a facade into the
package. By doing this, I only have to instantiate one or two Java
classes in IDL which keeps the IDL code much cleaner. So far this has
worked pretty well for what I need to do.

-Mike
Re: database connection with idl without dataminer [message #40243 is a reply to message #40128] Fri, 23 July 2004 10:19 Go to previous message
pashas77 is currently offline  pashas77
Messages: 7
Registered: April 2003
Junior Member
Thanks for your response. That's kinda what I figured. Do you mind
if I ask what database you guys are using. I'm playing the idea of
Mysql with a C interface. So i was just trying to gauge how much work
it would be.

Have a good one.

Sabir Pasha

Michael Wallace <mwallace.no.spam@no.spam.swri.edu.invalid> wrote in message news:<10ft2lln8rl1j43@corp.supernews.com>...
>> I noticed this has come up every so often in the group. I wanted to
>> ask if anybody has had any success in interface to a database(i.e.
>> access or mysql) without the use of dataminer. We are currently using
>> IDL in a windows XP environment.
>
> The only way I know to communicate with a database without using
> Dataminer is to use external code. I use Java to handle all of my
> database interactions from IDL. You could potentially use C code to
> handle the database communication if you're more familiar with C than Java.
>
> The IDL-Java Bridge (new in IDL 6.0) allows you to create Java objects
> within IDL. Since there are a plethora of classes within the java.sql
> package, I wrote a couple of Java classes which act as a facade into the
> package. By doing this, I only have to instantiate one or two Java
> classes in IDL which keeps the IDL code much cleaner. So far this has
> worked pretty well for what I need to do.
>
> -Mike
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: GUI parameter passing :NEWBIE
Next Topic: Re: sub-widget function creates button widgets with different values each time called

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 13:44:00 PDT 2025

Total time taken to generate the page: 1.11822 seconds