A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
OCA Java SE 8 Programmer I Study Guide 1Z0-808
this week in the
JDBC and Relational Databases
Retrieve full string from oracle through jdbc
Joined: Mar 19, 2006
Jun 07, 2006 03:59:00
I'm facing problem while i'm retrieving
from oracle database.
By using resultset.getString("Address") it is retrieving only only first word of the resultset.
eg If oracle is having "Sectot-20, Noida, India" as "Address". It is only returing Sector-20 while it should return "Sector-20, Noida, India".
Kindly help me as soon as possible because i do require it in my project.
With Regards,<br />Ripul Chhabra
Joined: Apr 14, 2004
Jun 07, 2006 04:43:00
That method returns everything in the field called "Address", so it should work Can you show us your code, and perhaps the DDL for the table?
I agree. Here's the link:
subject: Retrieve full string from oracle through jdbc
Hibernate Training institute in delhi, noida
Some info on bangalore companies.
Hi Please give yr view??
Bglr/Hyd/Pune/Chennai India-Java/J2ee walk in Dec 4th and 5th
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015