Hi,
I'm trying to establish a connection to a JDBC database
The following code:
factory = CreateObject("java", "coldfusion.server.ServiceFactory");
ds_service = factory.datasourceservice;
datasources = ds_service.getDataSources();
ds = datasources["cfartgallery"];
driverManager = CreateObject("java", "java.sql.DriverManager");
con = driverManager.getConnection(ds.url, "System", "");
works if the datasource uses the "Microsoft Access" driver which comes
with CFMX 7.
But not with the "Microsoft Access with Unicode" .
The "cfartgallery" datasource was installed during the CFMX
installation, and http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send any spam to this address: [EMAIL PROTECTED])
Thanks.
~|
Logware (www.logware.us): a new and convenient web-based time tracking
application. Start tracking and documenting hours spent on a project or with a
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221172
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54