MAY 27 2005

Checking the DataDirect Drivers version

Related Categories: ColdFusion, JRun

My man Brandon provides a code example of how to determine the DataDirect driver version on his blog. Here's a command-line method: java -cp|classpath <path to macromedia_drivers.jar> driver type

If you have the macromedia_drivers.jar in the system or JVM classpath you do not need to specify the -cp or -classpath option. Here's an example and output for the SQL Server driver:

>java -cp C:\CFusionMX7\lib\macromedia_drivers.jar macromedia.jdbc.sqlserver.SQLServerDriver
[Macromedia][SQLServer JDBC Driver]Driver Version: 3.40.50 (012742.007224.008724)

Here's an example and output for the Oracle driver:

>java -classpath C:\JRun4\lib\macromedia_drivers.jar macromedia.jdbc.oracle.OracleDriver
[Macromedia][Oracle JDBC Driver]Driver Version: 3.40.50 (012742.007224.008741)

Comments (0) | Print | Send | del.icio.us | Digg It! | Linking Blogs
TweetBacks
There are no TweetBacks for this entry.
Comments (Comment Moderation is enabled. Your comment will not appear until approved.)
Welcome to Sarge's personal blog A green acorn

Previous Month September 2010 Next Month

Sun Mon Tue Wed Thu Fri Sat
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30    

Subscribe
Enter your email address to subscribe to this blog.