Title:
SQL Server 2008 (or newer) HierarchyID datatype not supported by CF10 jdbc driver (works in CF8)
| View in TrackerStatus/Resolution/Reason: Closed/Withdrawn/Duplicate
Reporter/Name(from Bugbase): Bob Albright / Bob Albright (Bob Albright)
Created: 10/05/2012
Components: Database
Versions: 10.0
Failure Type: Non Functioning
Found In Build/Fixed In Build: Final /
Priority/Frequency: Critical / Most users will encounter
Locale/System: English / Windows 7 SP1 64-bit
Vote Count: 4
Duplicate ID: CF-3217374
Problem Description:
The SQL Server 2008 datatype does not work when cfquery tries to pull it into memory in CF10. Note that this *does* work in CF8.0.1.
This is a duplicate of bug# 3041769 filed against CF9. Bug #3041769 was closed for "NotEnoughTime". Can you explain why this worked in CF8 and does not work in newer versions of ColdFusion?
Steps to Reproduce:
1) Create a table on SQL Server 2008 or newer with the hierarchyID datatype:
CREATE TABLE [dbo].[HierarchyIDBug]
(
[node] [hierarchyid] NOT NULL
,[name] [varchar](50) NOT NULL
)
2) Run a query against this table that reads from the node column.
Actual Result:
Oct 5, 2012 15:18:44 PM Error [ajp-bio-8014-exec-2] - [Macromedia][SQLServer JDBC Driver]Data type not supported: Unknown: 0xf0
Expected Result:
0xf0 in a string (or another datatype).
Any Workarounds:
Call .toString() all on hierarchyID columns before pulling into memory.
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3341910
External Customer Info:
External Company:
External Customer Name: Bob Albright
External Customer Email:
External Test Config: My Hardware and Environment details:
SQL Server 2008 (or newer), CF10
Attachments:
Comments: