<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">

<cfset drivernames=Replace(drivernames," ","","ALL")>
<!--- replace all spaces --->

<cfloop index="drivername" list="#drivernames#">
<cfobject action="CREATE" class="#drivername#" name="driver" type="JAVA">
<cfset args= ArrayNew(1)> <cfset driver.main(args)>  <cfoutput>#drivername#
is #driver.getMajorVersion()#.#driver.getMinorVersion()#<br></cfoutput>
</cfloop> 

This is from..
http://www.bpurcell.org/blog/index.cfm?mode=entry&entry=988

Is there a particular reason you want to play with the drivers?

John Mason
[EMAIL PROTECTED]
770.337.8363
 
www.FusionLink.com - ColdFusion and Flex hosting
Now offering ColdFusion 8 Enterprise hosting
FREE Subversion hosting



-----Original Message-----
From: Ian Skinner [mailto:[EMAIL PROTECTED] 
Sent: Friday, November 02, 2007 4:03 PM
To: CF-Talk
Subject: CF 8 Enterprise Database Drivers

Is there a document or some method to find out exactly what drivers - make
and model number - come with ColdFusion 8 enterprise.  It would also be nice
to see a how to guide for the time one may have to get under the hood and
take wrenches and screwdrivers to monkey with these drivers.  My Googling
skills so far has only turned up an Adobe Knowledge base article dated to
the 5.0 era.

TIA
Ian




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Enterprise web applications, build robust, secure 
scalable apps today - Try it now ColdFusion Today
ColdFusion 8 beta - Build next generation apps

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:292587
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to