Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

CF8 cfprocparam

New Here ,
Apr 17, 2008 Apr 17, 2008
I am working on a project that is running under CF6.1 and oracle 8i, and we're planning to migrate to coldfusion 8 and oracle 10g. my first error in the log files when running the application was Missing dbvarname attribute. so does cf8 support dbvarname or not?
furthermore, what else I should look at during the migration.

Thanks in advance
708
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Explorer , Apr 17, 2008 Apr 17, 2008
According to The Adobe LiveDocs, dbvarname is now ignored.

"Changed the dbvarname attribute behavior: it is now ignored for all drivers."

It seems to me that it should ignore it then, instead of erroring. I just tried adding dbvarname to a cfstoredproc on my Oracle 10g server with CF8 and received the error:

"The dbvarname attribute, if used, must be present with each cfprocparam tag of the stored procedure."

So it seems to me, that if you use it, its all or nothing. I don;t use it at all in...
Translate
Explorer ,
Apr 17, 2008 Apr 17, 2008
According to The Adobe LiveDocs, dbvarname is now ignored.

"Changed the dbvarname attribute behavior: it is now ignored for all drivers."

It seems to me that it should ignore it then, instead of erroring. I just tried adding dbvarname to a cfstoredproc on my Oracle 10g server with CF8 and received the error:

"The dbvarname attribute, if used, must be present with each cfprocparam tag of the stored procedure."

So it seems to me, that if you use it, its all or nothing. I don;t use it at all in my cfprocparams and everything works fine, as long as I pass in the Vars in the right order.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 26, 2008 May 26, 2008
LATEST
Thanks for your answer, that really helped
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources