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

  1. #1
    Join Date
    Feb 2009
    Posts
    1

    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?

    Thanks!

  2. #2
    Join Date
    Apr 2007
    Location
    Sterling Heights, Michigan
    Posts
    8,666
    Welcome to DevX

    Is it stored with brackets in the database?
    I don't answer coding questions via PM or Email. Please post a thread in the appropriate forum section.
    Please use [Code]your code goes in here[/Code] tags when posting code.
    Before posting your question, did you look here?
    Got a question on Linux? Visit our Linux sister site.
    Modifications Required For VB6 Apps To Work On Vista

Similar Threads

  1. Replies: 0
    Last Post: 01-13-2009, 04:44 PM
  2. Replies: 0
    Last Post: 09-22-2007, 07:54 AM
  3. Replies: 2
    Last Post: 01-08-2007, 11:41 AM
  4. Getting a GUI to function
    By Eric in forum Java
    Replies: 1
    Last Post: 11-27-2001, 07:53 AM
  5. Problems with NetAddUser
    By Jeff Morgan in forum VB Classic
    Replies: 0
    Last Post: 02-11-2001, 01: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
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

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