Problem in result set from mySQL

DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Problem in result set from mySQL

Hybrid View

  1. #1
    Join Date
    Feb 2009

    Problem in result set from mySQL

    Hi guys,

    I am writing an application using jsp/servlets and mySQL backend. When I get a result set from mySQL into a servlet, the data is being picked up fine. But it is wrapped around square brackets.

    So, instead of getting CKT as a value in the resultset, I am getting [CKT] as the value. I am working around it using the substring method, but anyone has an idea as to why I am getting [CKT] and not CKT? is it something with mySQL?


  2. #2
    Join Date
    Apr 2007
    Sterling Heights, Michigan
    Welcome to DevX

    Is it stored with brackets in the database?

Similar Threads

  1. Replies: 0
    Last Post: 01-13-2009, 03:44 PM
  2. Replies: 0
    Last Post: 09-22-2007, 06:54 AM
  3. Replies: 2
    Last Post: 01-08-2007, 10:41 AM
  4. Getting a GUI to function
    By Eric in forum Java
    Replies: 1
    Last Post: 11-27-2001, 06:53 AM
  5. Problems with NetAddUser
    By Jeff Morgan in forum VB Classic
    Replies: 0
    Last Post: 02-11-2001, 12:54 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
Latest Articles
Questions? Contact us.
Web Development
Latest Tips
Open Source

   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center