tracker issue : CF-3561916

select a category, or use search below
(searches all categories and all time range)
Title:

Add ability to define datasources within Application.cfc

| View in Tracker

Status/Resolution/Reason: Closed/Withdrawn/Duplicate

Reporter/Name(from Bugbase): Adam Cameron / Adam Cameron (Adam Cameron)

Created: 05/16/2013

Components: Language

Versions: 10.0

Failure Type: Enhancement Request

Found In Build/Fixed In Build: Final /

Priority/Frequency: Trivial / Unknown

Locale/System: English / Platforms All

Vote Count: 0

Duplicate ID:	CF-3656754

As per Railo: http://blog.getrailo.com/post.cfm/railo-4-1-explicit-datasources-in-application-cfc, eg:


component {
 
  this.name = "AppName";
 
this.datasources.mydatasource={
  class:'org.gjt.mm.mysql.Driver'
	,connectionString:'jdbc:mysql://localhost:3306/demo_db?characterEncoding=UTF-8&useUnicode=true'
	,username:'demouser'
	,password:"encrypted:5943217a74b3d570f7ed78738da72bb4972228f46c8f9b7e96f5e995d66d1e9a"
};
 
 
}

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	3561916

External Customer Info:
External Company:  
External Customer Name: Adam Cameron.
External Customer Email:  
External Test Config: My Hardware and Environment details:

Attachments:

Comments:

I think you'll actually find the other (newer) one is the duplicate of THIS (already existing) one, but never mind. -- Adam
Comment by External U.
15359 | December 03, 2013 07:27:14 AM GMT
I know, but the newer one is quite detailed and we would like to keep that open.
Comment by Rupesh K.
15360 | December 03, 2013 07:52:45 AM GMT
Well... it's just more stuff copy and pasted from the link I give you above. But anyway, [shrug]. The fact it's getting done is the win here! Cheers. -- Adam
Comment by External U.
15361 | December 03, 2013 08:06:01 AM GMT