This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes JDBC and Relational Databases 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 and Relational Databases
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
 
Have you checked out Aspose?
 
subject: Retrieve full string from oracle through jdbc
 
jQuery in Action, 3rd edition