Checking your JDBC Driver Version
Macromedia recently updated their JDBC driver technote, but I wasn't sure if I already had the 3.3 driver installed (since they may have just updated the text in the technote). So I wrote some code to check what version of the jdbc driver my server was running, and sure enough I needed to update it:
<cfset jdbcDriver = CreateObject("java", "macromedia.jdbc.sqlserver.SQLServerDriver")> <cfoutput> #jdbcDriver.getMajorVersion()#.#jdbcDriver.getMinorVersion()# </cfoutput>
After you install the 3.3 drivers, the result of this code should be "3.3", if it says otherwise, you can update your drivers.
Like this? Follow me ↯Tweet Follow @pfreitag
Checking your JDBC Driver Version was first published on March 31, 2004.
If you like reading about jdbc, cfml, cfobject, or java then you might also like:
- Null Java References in CF 6 vs 7
- Thread Priority, and Yielding
- Determining the size of objects in memory
- How to make ColdFusion MX go to sleep
- URL Safe Base64 Encoding / Decoding in CFML
- Getting Size of Heap and Non Heap Memory in CFML
- CFML on Google App Engine for Java
- Serializing CFC's in ColdFusion 8
The FuseGuard Web Application Firewall for ColdFusion & CFML is a high performance, customizable engine that blocks various attacks against your ColdFusion applications.