GeeCON Prague 2014*
The moose likes JDBC and the fly likes Retrieve  full string from oracle through jdbc Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Databases » JDBC
Bookmark "Retrieve  full string from oracle through jdbc" Watch "Retrieve  full string from oracle through jdbc" New topic
Author

Retrieve full string from oracle through jdbc

Ripul Chhabra
Greenhorn

Joined: Mar 19, 2006
Posts: 12
Hello,

I'm facing problem while i'm retrieving string 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,
Ripul Chhabar


With Regards,<br />Ripul Chhabra
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

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?


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
 
GeeCON Prague 2014
 
subject: Retrieve full string from oracle through jdbc