[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Java code for retrieving field from DB

Subject: Java code for retrieving field from DB
From: normbishop1@xxxxxxxxxxxx
Date: Mon, 10 Jun 2002 02:26:48 -0400
rsa java code
Hi,

This list might not be the correct one for this question.  I hope someone might have experieced similar problem.  Pls help me ....

The descTest field in the database consists of this text:  <br>test
I am using these java codes to retrieve this field :
qry2 = "SELECT descTest from testtable where descId="+descId;
                rsa = stmt.executeQuery(qry2);
                if(rsa != null){while(rsa.next()){
                   description=rsa.getString(1);                
                }}

the result I am getting for description is:  <br;>test

I am sure there is a way to retrieve descTest as <br>test.  I would appreciate anyone's help!

Thank you
Norm


__________________________________________________________________
Your favorite stores, helpful shopping tools and great gift ideas. Experience the convenience of buying online with Shop@Netscape! http://shopnow.netscape.com/

Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.