DataMgr 2.5 Documentation: Database Adaptor

Database Adaptor

If the DataMgr doesn't natively support your database, then you can create your own database adaptor.

The simplest way to do this is to open up one of the existing database drivers and modify it to fit the needs of your database. The drivers all all DataMgr_XXX.cfc files (where XXX is a string representing that database). Most are less than 500 lines of code.

Note that the "displayname" and "hint" attributes of cfcomponent should be changed. Make sure that the database indicator (the string between "_" and ".cfc" in the file name) matches what is returned by the "getDatabase" method - including case.