<cfscript>
jdbcDriver = CreateObject("java", "macromedia.jdbc.sqlserver.SQLServerDriver");
writeoutput(jdbcDriver.getMajorVersion() & "." & jdbcDriver.getMinorVersion());
</cfscript>
Cheers
G
On Thu, 7 Oct 2004 15:43:27 -0400, Dave Carabetta <[EMAIL PROTECTED]> wrote:
> On Thu, 7 Oct 2004 15:35:54 -0400, Adkins, Randy <[EMAIL PROTECTED]> wrote:
> > In light of that, how can I determine the version of the DataDirect
> > drivers
> > that are being utilized?
> >
> > I would like to eliminate all possible avenues relating to performance
> > issues
> > we are experiencing on the server for JRUN to spike so much that we
> > have to reboot the server.
> >
>
> Drop this code into a cfm page, run it, and view your console/log file
> to see the output of the driver version number:
>
> <cfset drivernames = "macromedia.jdbc.oracle.OracleDriver,
> macromedia.jdbc.db2.DB2Driver,
> macromedia.jdbc.informix.InformixDriver,
> macromedia.jdbc.sequelink.SequeLinkDriver,
> macromedia.jdbc.sqlserver.SQLServerDriver,
> macromedia.jdbc.sybase.SybaseDriver">
> <!--- replace all spaces --->
> <cfset drivernames = replace(drivernames," ","","ALL")>
> <cfloop index="drivername" list="#drivernames#">
> <cfobject action="" class="#drivername#" name="driver" type="JAVA">
> <cfset args= ArrayNew(1)>
> <cfset driver.main(args)>
> </cfloop>
>
> Regards,
> Dave.
>
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

