Strong Data typing observed in MX7

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

  1. #1

    Default Strong Data typing observed in MX7

    :Q

    I was shocked to see details realized by CFquery today. We recently upgraded
    to MX7 in our production area. Still not sure it is MX7 but no other changes
    have been made to my knowledge. Maybe we missed this in testing but a user
    found a bug today. The bug was a javascript procedure that could not handle
    numbers with greater than 2 decimals. What we discovered is that a CFquery was
    returning decimals to match the Oracles database type. Example Number(15,4) or
    Number(22,10)
    Even though the data stored was 6 and 30.12 the cfoutput result was 6.0000 or
    30.1200000000.

    This was resolved by placing an Oracle function round("column", 2) on the
    fields affected.

    But this stuns me to see this kind of binding with CF. I have never seen this
    before. Typically the results returned are simple text with no strong data
    types. I am not sure if this something new with MX7. Maybe it is the database
    connection. We are current no using any special thin client just CF Oracle DB
    connection.


    Joedh Guest

  2. Similar Questions and Discussions

    1. Cold Fusion and Strong Typing
      Hi guys, Am new to Coldfusion but being from an OO background, I've rather taken to CFC's. (You don't want to know what I usually call them but...
    2. "stereotyping" (was: Strong Typing (Managing metadata about attribute types) )
      On Thu, 20 Nov 2003 16:02:14 +0900, Thien Vuong wrote: Note that what follows is my opinion only: * Checking against your own types. See...
    3. "stereotyping" (was: Strong Typing (Managing metadata about attribute types)
      On Thu, 20 Nov 2003 14:08:51 +0900, Simon Kitching wrote: You're right. Drb uses Marshal#dump and Marshal#load. YAPC uses YAML which has...
    4. Strong Typing (Managing metadata about attribute types)<Pine.LNX.4.44.0311171402340.1133-100000@ool-4355dfae.dyn.optonline.net>
      Hi -- On Mon, 17 Nov 2003, Thien Vuong wrote: The system you're describing -- one-to-one, immutable mapping of methods in a class with...
    5. Strong Typing (Managing metadata about attribute types)<Pine.LNX.4.44.0311171402340.1133-10
      > I don't advocate type checking much in either case. It is a performance the programming language euphoria has an interesting approach to this....
  3. #2

    Default Re: Strong Data typing observed in MX7

    Just to be sure, I would install the [url]http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_17883[/url].



    BKBK Guest

  4. #3

    Default Re: Strong Data typing observed in MX7

    Applied the following patches but still no resolution. I finding more places
    where decimals are showing up. So it is becoming a bit of a pain. I still do
    not understand why CF is doing this.

    Updated DataDirect JDBC drivers (version 3.5) ( Article 42dcb10a ) - This
    one I am not sure I applied correctly. I can not find the DLL file it says to
    upgrade. (DDJDBCAuth.DLL.)

    Hot fix available for JRun4 Updater 6, IIS 6.0 redirect response truncation (
    Article 5c9389c8 )

    ColdFusion MX 7.0.1 cumulative hot fix 1 ( Article aae43964 )

    Joedh 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