8 Replies Latest reply: Mar 3, 2008 5:52 AM by 807591 RSS

    Conversion of String to byte[ ]

    807591
      Hi everybody

      I have a Byte[] value in one of our client database it seems like this -- 00033DB7FB87EC4EB371BCC9D3BF13EC
      when they import into CSV it became String
      I need to Dump into my database what ever you see in that Byte[].the value is already a conversion only so i need to dump as it is.
      now the real problem is how to convert the same String as Bytes
      if i use String.getBytes() it exceeding the Field Length
      my filed length in the database is Binary (16)

      Plz do the needful

      Thanks for ur Help in advance