Unicode characters from DB2 using JDBC in ColdFusion MX7

Ask a Question related to Coldfusion Database Access, Design and Development.

  1. #1

    Default Unicode characters from DB2 using JDBC in ColdFusion MX7

    JDBC driver from ColdFusion MX 7 does not return Unicode characters to me. I
    create data sources for one Unicode DB2 7.2 database -- one for direct DB2
    driver, second for ODBC socket driver. Using simple SQL I try to return data in
    Unicode. First datasource returns correct data (in Unicode). Second returns
    just substitution symbol for current locale. What is the problem with JDBC
    driver for DB2 concerned with Unicode?

    lapikov Guest

  2. Similar Questions and Discussions

    1. Unicode characters above FFFF
      How can I generate/display on a page/ Unicode characters based on unicode scalar values? I know ColdFusion function chr() works very good for...
    2. cfqueryparam unicode characters
      I am storing Unicode characters in sqlserver. If I use : SELECT * table values WHERE a=N"#val1#" it works fine. However if I use: ...
    3. Unicode characters and ado.
      I have an Access 2002 database which stores unicode characters. I am using adodb.recordset object to display these fields on a web page. If I were...
    4. entering unicode characters
      I would really appreciate some help with this. I am using mozilla (1.2.1) with XFree86 (3.3.6). How can I enter a unicode character into mozilla?
    5. Unicode characters support: no in SQL - yes in Access.
      What datatype is the data stored in SQL Server? To utilize unicode, you myst use nchar, nvarchar, or ntext... not char, varchar, or text....
  3. #2

    Default Re: Unicode characters from DB2 using JDBC in ColdFusionMX 7

    not sure which dsn is which BUT you shouldn't be using ODBC drivers to return unicode data.
    PaulH Guest

  4. #3

    Default Re: Unicode characters from DB2 using JDBC in ColdFusionMX 7

    Why ODBC socket data sources should not be used to work with Unicode data?
    lapikov Guest

  5. #4

    Default Re: Unicode characters from DB2 using JDBC in ColdFusionMX 7

    the JDBC-ODBC bridge didn't handle them very well in the past. why do you want to use the JDBC-ODBC bridge?
    PaulH Guest

  6. #5

    Default Re: Unicode characters from DB2 using JDBC in ColdFusionMX 7

    You *could* probably get this to work with ODBC Server using the Sequelink
    Unicode server.

    The installations of CF6.1 and 7.0 contain the NON-unicode server.
    (swsoc.exe). The unicode server is swsocw.exe and is included in the
    /db/slserver54/bin directory but it's not hookup up.

    Creating a separate Sequelink Unicode ODBC Server service as part of the
    installer is a messy proposition and it's something we decided not to do.

    Adding the server by hand is worse and you end up with a not very robust
    solution compared to JDBC.

    You're much better off with the JDBC driver.

    Stephen Dupre
    Macromedia QA



    sdupre Guest

  7. #6

    Default Re: Unicode characters from DB2 using JDBC in ColdFusionMX 7

    There are two reasons:
    1) we have fully functional application for CF5.0 with number of CFX-s, that
    use ODBC from CPP (ColdFusion part of application also uses ODBC data sources
    of CF5.0)
    2) some queries do not work under DB2 Native Data Source -- we have error
    "[Macromedia][DB2 JDBC Driver][DB2]UNACCEPTABLE SQL STATEMENT".
    So the problem is these strange errors while executing queries from CFML.

    lapikov Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139