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 
Return to the default flat view Create a new topic Submit Reply
Re: database connection with idl without dataminer [message #40128] Wed, 21 July 2004 08:24 Go to previous 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
[Message index]
 
Read Message
Read Message
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: Sat Oct 11 10:29:59 PDT 2025

Total time taken to generate the page: 0.95928 seconds