[Looking for Charlie's main web site?]

New DataDirect JDBC Type 5 drivers (for SQL Server, MySQL, Oracle, and more)

I think most folks know that the underlying database drivers in CF are from DataDirect. Well, they've announced new "Type 5" drivers. While you would have to buy and install them separately from those built-into CF (for now, as Adobe has not yet certified CF for use with them), I think some people may want to give them serious consideration even before then.

Several Performance Advantages, and Failover As Well

Among their advantages (over the older Type 4 drivers that are built into CF) are faster performance and lower memory use (more here), as well as greater tunability in general (discussed among other features between 4 and 5), and still more.

For some, more compelling still is the new driver-based failover, to have the driver detect a connection failure and switch communications to another DB instance (much like CF 8 Enterprise added the ability to do the same with mail server configuration in CF). This could be a huge improvement for many.

Getting More Info, Trials, Purchase

You can learn more about (and purchase or get a trial of) the drivers at http://www.datadirect.com/products/jdbc/index.ssp. The page also includes links to more on the benefits of type 5, comparison to Type 4, and so on. (Sadly, I just missed their cleverly titled "These go to 11" webinar earlier today. Perhaps they'll offer another soon.)

When Might Adobe Bundle Them in CF?

You may have caught that I referred to "purchase" of the drivers. Sadly, no, the drivers are not free. Adobe has licensed and included them in past releases of CF. So when Adobe may modify CF to bundle the new drivers?

Some have heard that Adobe's working on an updater for CF 9 (mentioned publicly at cf.Objective() among other places). Can we expect the drivers to be updated in that release? It's hard to say. In the 7.0.2 timeframe, the then-new drivers (3.5) came out just after the release and so were not included in the updater but instead were mentioned as a manual option in the CHF 1 technote. (Many missed that and to this day I suspect many shops still running CF 7 still have updated those drivers.) The point is, they did not include it with the updater (as I blogged about at the time in this blog entry.)

I can understand why they may not bundle new DB drivers with a CF updater: with updaters, they have to rebuild and retest all the installers on all the platforms, and updaters are generally not about adding "new features". It's a slippery slope as to whether driver updates are "new". It may also be a matter of timing, with respect to when Adobe learned about the drivers (likely sooner than most of us) and whether they found them compelling enough to consider, and at what cost in terms of backward compatibility. It's worth noting that the Type 5 drivers do assert to bring all their benefits "without code changes", so who knows?

The bigger question for some may really be simply, "I'm ok if they make me install it manually. It would just be nice to not have to license them ourselves." That's a fair point, and we just won't know until Adobe does address this issue (perhaps as they did in 7.0.2 CHF 1.) Until then, we have to wait and see.

But again, I do think the update compelling enough that shops with interest in performance should at least consider testing out the free trial to see how things go, or to prepare for the possibility of leveraging that new failover feature. (It also remains to be seen if Adobe may somehow try to force that failover feature to be an Enterprise-only feature, just as the mail server failover is.)

About the Company and Product Name Variations

Some may wonder if they visit the site for the drivers and notice the company being named Progress, when it used to be Merant. You can read about the fairly long chain of changes in the company history page.

One other thing worth noting is that the product is sometimes referred to as "DataDirect JDBC Type 5 drivers" (as I show in the subject here) and yet also sometimes as "DataDirect Connect for JDBC". They're the same thing.

One Boo Boo on the DataDirect Site

As I was tooling around their site, I happened on the page about use of the tool with JBoss servers. They said this:

The top web and application server vendors embed or recommend DataDirect JDBC drivers as part of their J2EE certification strategies (JBoss, IBM WebSphere, Sun Microsystems, Oracle BEA, and Macromedia.)

Can you spot the mistake? There is no more Macromedia, of course. I tried to find a page on the site to send a comment, but their Contact page didn't seem to offer a suitable option for such a comment. Oh well, so I am adding it here in case someone who cares can get something done about it.

Finally, I'll point out another useful page on their site, not new to the Type 5 drivers, but a helpful list of performance tips.

Comments
Charlie,

I just wanted to point out that CF users using MySQL can get some of the "fail over" and "load balancing" benefits that the new Data Direct Drivers provide TODAY, and for FREE.

The MySQL java connector has the ability to accept MULTIPLE servers (hosts/IPs) and will do round-robin load balancing when creating connections, and will automatically open a connection to an alternative server if it can't connect to the current host/ip it's trying.

I only learned of this recently, and I think it's going to be the perfect solution for the HA setup I'm creating at work, so I just wanted to point this out for others weren't aware of this great feature either.

Here's an example JDBC query string:
jdbc:seefusion:{jdbc:mysql://192.168.100.14,192.168.100.15:3306/myDatabaseName?noAccessToProcedureBodies=true&autoReconnect=true&roundRobinLoadBalance=true&failOverReadOnly=false};driver=org.gjt.mm.mysql.Driver;dialect=mysql

(it's compatible with SeeFusion too which is nice)

Here are the full details on the MySQL connector:
http://dev.mysql.com...

I'm sure there are differences between how the DataDirect drivers and MySQL Connector acheieve fail over and load balancing, but it looks like the stock MySQL connector's abilities are going to work for me.
# Posted By Kurt Bonnet | 5/6/10 2:46 PM
thanks Charlie we do care :)
# Posted By Craig Tindale | 5/7/10 12:00 AM
@Kurt, thanks for sharing the news of the MySQL driver. That's good to hear. For those who notice his reference to SeeFusion, there's no reason to expect it wouldn't be compatible with FusionReactor, as well.

@Craig, thanks for the encouragement.
# Posted By charlie arehart | 5/8/10 6:42 PM
Hi Charlie,

We really appreciate your comments and feedback on our announcement concerning our Type 5 Connect for JDBC drivers. Concerning the "boo boo" you mentioned, thank you for bringing it to our attention! We have edited the text to read:

"The top web and application server vendors embed or recommend DataDirect JDBC drivers as part of their J2EE certification strategies (IBM, Oracle, Red Hat, and Adobe)."

Hopefully this will reduce confusion for you and your readers.

If you have any other questions or comments about Type 5 JDBC, feel free to reach out directly to myself or anyone else at blogs.datadirect.com.

Mike Frost
Product Marketing Manager
Progress DataDirect
# Posted By Mike Frost | 5/24/10 11:40 AM
Hello, any ideas about how to get CF to work with Oracle Advanced Security? How can I pass Oracle security parameters to the DataDirect JDBC?
Thanks.
# Posted By Khalil Dahham | 5/8/13 4:11 AM
@Khalil, I'm afraid I do not know the answer there. I have not worked with Oracle database connections using its "Advanced Security" feature. A quick google of a few keyword alternatives also turned up no really promising discussions.

I'd propose you may want to bring this up instead on the Adobe forum, specifically http://forums.adobe.... Hope that helps.
# Posted By Charlie Arehart | 5/21/13 1:17 AM
Thanks Charlie. I've just installed the trial version of DataDirect JDBC 5 and it is working fine with CF8. I can pass the Oracle Advanced security parameters in the JDBC URL. But I have to test this thoroughly since CF8 might not support this version.
# Posted By Khalil Dahham | 5/22/13 12:30 AM
Copyright ©2018 Charlie Arehart
Carehart Logo
BlogCFC was created by Raymond Camden. This blog is running version 5.005.
(Want to validate the html in this page?)

Managed Hosting Services provided by
Managed Dedicated Hosting