Lucee Datasource driver

#1

Hi everyone.

I’m currently migrating from adobe coldfusion to lucee and i’m facing some API compatibilty issues that I’m solving one by one. Except for this one: I’m getting a datasource list and I need to check the type of driver used by each datasource.
My code was compatible with Railo and there was a property called “driver” that gave me the name of the driver (like “ORACLE”, “MSSQLSERVER”).

Is there a way to get it in Lucee 5?

0 Likes

#2

I’ve never used it but Lucee’s Administrator.cfc sounds like it might have access to the info you want. Check out Additions to Administrator.cfc in Lucee 5.2 for some info on it.

0 Likes